You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by re...@verizon.net on 2002/04/06 01:09:17 UTC
Problem with logic:equal and bean:define
All,
When I use the bean:define tag inside a logic:equal, why doesn't the scriptinh variable created stay in scope outside of the logic tags? What am I doing wrong?
Code snippet below:
<logic:equal name="myattribute" value="5">
<bean:define id="myvar" value="50"/>
</logic:equal>
Once outside of the logic tags, even out.print(myvar); results in null.
Thanks, Steve
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>