My reply got messed up so here it is again....

When I try ${'true'} and the setter is still called with 'false'. 


2009/4/10 Greg Lindholm <glindh...@yahoo.com>:
> I'm trying to pass a boolean "static" parameter to an Action and the value
> getting set is always "false" no matter what I do it won't set it to
> "true".
>
> <action name="MyAction"
>           class="com.xxx.MyClass"
>           method="doDisplay">
>           ${true}

try
${'true'}


-- 
View this message in context: 
http://www.nabble.com/-S2.1.6--boolean-static-parameter-for-an-action-tp22981740p22992109.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to