why is it that when i create a checkbox using the s:checkbox tag that i end up with 2 html inputs?

<s:checkbox name="bean.active" />

yields ...

<input type="checkbox" name="bean.active" value="true" checked="checked" id="weblogConfig_bean_active"/>
<input type="hidden" name="__checkbox_bean.active" value="true"/>

i don't understand what the hidden field is for and why it's needed.

-- Allen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to