Thomson, Stewart wrote:
Hello

Is it possible while using the <s:if tag to call a method in your action
while passing in a parameter?

In the action

public boolean getSomeMethod(String someParam){
         .... Do some work based on someParam
return answer; }

In the jsp
<s:if test="getSomeMethod('some string')">
   some html
</s:if>

Yes, that should work. The obvious thing to do with a simple question like this is to just try it.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to