Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

Method calls with ognl with ValueStack Objects as Parameters

Alexander Bätz

2008-11-25

Replies: Find Java Web Hosting

Author LoginPost Reply
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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.