You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Bill Siggelkow <bi...@bellsouth.net> on 2004/05/31 15:48:55 UTC
Checkbox (boolean) with DynaActionForm
I am using a DynaActionForm in session scope with a boolean property
corresponding to a checkbox. Is there a way of configuring the
DynaActionForm for the behavior that would normally be put into the
"reset" method to set the property to false? I tried using
initial="false" but it did not seem to work. Here is the form:
<form-bean name="CheckboxForm"
type="org.apache.struts.action.DynaActionForm">
<form-property name="foo" type="java.lang.Boolean"
initial="false"/>
</form-bean>
Any insight would be greatly appreciated.
Bill Siggelkow
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org