All,
I have the following:
<s:iterator value="exception.exceptionValues">
<li>
<s:property
value="personProvider.department([0].top)"/>
</li>
<li>
<s:property value="[0].top"/>
</li>
</s:iterator>
The second <li> gives me the correct number, but the first does not. I want
the first to translate to:
getPersonProvider().getDepartment(1)
Which is a valid query in my action. Can someone suggest how to do that, or
point me to some documentation? I've read through the Struts stuff here:
http://struts.apache.org/2.1.6/docs/ognl.html
and here:
http://struts.apache.org/2.1.6/docs/ognl-basics.html
I can't imagine it's not possible to call a function with an argument, but
maybe it is, or maybe it's a bad idea and the controller should handle it...
Ognl.org is down.
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]