struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <res0s...@verizon.net>
Subject Problem with logic:equal and bean:define
Date Fri, 05 Apr 2002 23:09:17 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