Hi,
more confusion. I'm trying to call a method in a model object with a
Long (type doesn't really matter though) argument:
<s:iterator value="categories">
<s:property value="description.title"/><br />
Activity id: <s:property value="activityId"/><br />
String: <s:property value="boomerang(activityId)"/><br />
No arg: <s:property value="boomerang"/><br /><br />
</s:iterator>
According to the OGNL docs, adding an argument needs parenthesis, as
I'm doing in 'boomering(activityId'.
This isn't working :( 'boomerang' without argument does work, it's
returning a string like it should. getBoomerang(Long l) nor
getBoomerang(String s) works. They're never called by Struts/ognl.
What am I missing? Is this supposed to work or not?
Thanks.
bas.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org