You cannot concatenate Strings in Webwork 1.x using the + operator, yet. So
what you have written does not work.
You can solve it by creating a utility bean with a set of concat methods
that you call instead.
You could then change the param tag to:
<ww:param name="'trailParams'"
value="@concatBean/concat('albumManagerID=',albumManagerID)" />
This would call a concat method in the concatBean with 2 parameters that
should be concatenated and returned.
Cheers,
Dick Zetterberg
----- Original Message -----
From: Rich
To: [EMAIL PROTECTED]
Sent: Sunday, February 01, 2004 12:53 AM
Subject: [OS-webwork] Appending a Parameter to a String in the Value
Attribute
If I have the following:
<ww:bean name="'webwork.view.taglib.ui.table.renderer.LinkCellRenderer'"
id="DisplayAlbumLinkRenderer">
<ww:param name="'link'" value="'DisplayAlbum.jspa'" />
<ww:param name="'param'" value="'albumID'" />
<ww:param name="'paramColumn'" value="0" />
<ww:param name="'trailParams'" value="" />
</ww:bean>
In the parameter "trailParams", I'd like a string with a parameter.
For example: albumManagerID=<ww:property value="albumManagerID" />
I thought that something like this might of worked but it didn't: <ww:param
name="'trailParams'" value="'albumManagerID='+albumManagerID" />
Can I do this?
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork