|
|
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
|
|