Try:
<struts:if test="%{test(index)} )">
test will look for a function with prototype 'getTest' in the value stack.
Alexander Baetz wrote:
>
> Hi,
>
> Following scenario: i have an object on the value-stack and a function
> on the action named = "getTest". The function returns a boolean.
>
> Now i want to do a struts-if like that:
>
> <struts:if test="getTest( %{#myObject.index} )">
>
> But this doesn't work. How can i use OGNL to call a function on the
> stack using a parameter from the stack?
>
> Greetings,
> Alexander
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Method-calls-with-ognl-with-ValueStack-Objects-as-Parameters-tp20680838p20681882.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]