struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stephen.chambers" <stephen.chamb...@verizon.net>
Subject Problem with logic:equal and bean:define
Date Sat, 06 Apr 2002 23:56:26 GMT
 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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message