Hi,



I am using <html:checkbox> with a property of "deleted" which is defined as an array String in Struts-config.xml file

<form-bean name="CreateProductsForAllForm" dynamic="true" type="com.f.M.G.w.ProductDynaValidatorForm">

<form-property name="deleted" initial="" type="java.lang.String[]"/> </form-bean>

where com.f.M.G.w.ProductDynaValidatorForm is a subclass of org.apache.sturts.validator.DynaValidatorForm.

I need to override the reset() Method in ProductDynaValidatorForm for the <html:multibox> to work when the checkbox is "unchecked". How can I access the "deleted" string array property of the bean and set the length of that string array to zero, ie. how can I set the "deleted" array length to zero.??

TIA,

srinivas





_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail


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

Reply via email to