On 7/25/07, yitzle <[EMAIL PROTECTED]> wrote:
My action has a boolean isAllowUpgrade() and a setAllowUpgrade(boolean b).
If the name is set to "blah", the correct radio button gets selected
at render time.
If the name is "allowUpgrade", neither radio button gets selected.
When I debugged, the getAllowUpgrade() does get called and does return
a boolean.
<s:radio name="allowUpgrade" value="allowUpgrade" list="#{true:'Yes',
false:'No'}" />
Please advise.
If I use a String instead of a boolean, I can do this:
<s:radio name="allowUpgrade" list="{'Yes', 'No'}" />
Why won't just having a name auto-select the correct radio with booleans?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]