Hi,

I'm trying to understand the different between fieldValue and value
attributes of the checkbox tag.

I'm asking this because the checkbox is unchecked even though the
field associated with it has the same value as the fieldValue. (i.e
redemption.countryNotice=="N")
<s:checkbox name="redemption.countryNotice" fieldValue="%{'N'}"></s:checkbox>

But when I have it as this:
<s:checkbox name="redemption.countryNotice" fieldValue="%{'N'}"
value="%{'N'}"></s:checkbox>
the chekbox shows up as checked

The problem with this is that it always comes up as checked even if
the value is not equal to "N".


What am I doing wrong?

-- 
Thanks
Suneel

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

Reply via email to