I have a java bean serviceData with a Boolean property autoActivate in my
action.
And I wrote a <s:radio/> tag in my JSP:

<s:radio label="autoActivate" name="serviceData.autoActivate"
           list="#{'true':'true', 'false':'false'}" />

But the default radio button is not checked in my page.
(While autoActivate is true the radio button of 'true' should be checked,
but it isn't.)

It works when I map <s:select/> to java 1.5 enum, but it doesn't work when I
map <s:radio> to java.lang.Boolean.
Did I do anything wrong?

Thanks.

Reply via email to