|
|
Thanks for the heads-up. Someone should put a note on the ActionLink
component reference page.
Todd
On Nov 21, 2004, at 1:01 PM, Jamie Orchard-Hays wrote:
I want to add that aside from your ognl question, ActionLinks are
deprecated. They shouldn't be used in a production environment. Use
DirectLinks instead.
Jamie
On Nov 21, 2004, at 7:40 AM, Todd O'Bryan wrote:
Suppose I have a bunch of ActionLinks encoded in a List, each with
the name of a method I'd like to call. I'd like to display each link
and bind its listener attribute to the appropriate method. I can't
do:
<a jwcid="@ActionLink"
listener="ognl:'listeners.'+listItem.methodName"> ... </a>
because the listener evaluates to a String, not a method. Is there a
way to get OGNL to do a second round of evaluation so that my String
"listeners.myMethod" gets resolved to the appropriate method?
If not, is there some way to set an instance variable in listItem to
be the actual listener method instead of just its name?
TIA,
Todd
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx
|
|