struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Session A Mwamufiya" <>
Subject How to check an action variable with s:if
Date Wed, 08 Aug 2007 06:26:18 GMT

I've been trying for some time to get the following logic to work:

<s:if test="freshSmigFlag == false">
  <s:checkbox key="overwriteCheckbox" name="overwriteCheck"></s:checkbox>

where "freshSmigFlag" is a variable in my action, and there is a getter and setter defined
for it.

I also tried to surround the variable with the property tag as such:
<s:if test="<s:property id='freshSmigFlag'/> == false">

But that didn't work either.

Any ideas how we're suppose to write this?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message