I have de following form-beaN:
<form-bean name="PlacesManageForm" type="com.esegur.sims.util.struts.form.BasicDynaValidatorForm">
<form-property name="manageAction" type="java.lang.Integer"/>
<form-property name="places" type="java.lang.Integer[]"/>
</form-bean>
And the respective validation: <form name="PlacesManageForm"> <field property="manageAction" depends="required,integer"> <arg0 key="place.manageAction"/> </field> <field property="places" depends="required,integer"> <arg0 key="place.placesToManage"/> </field> </form>
The action to this form is: <action path="/planning/places/manage" type="com.esegur.sims.web.PlacesManageAction" scope="request" name="PlacesManageForm" input="site.planning.places.manage.form" validate="true"> <forward name="goAction" path="/planning/places/creation"/> </action>
The property "places" correspond to a group of checkboxes at html. Even I have any or none checkboxe checked, the validator "says" the given data for this form isn't correct. When I think it shoulf be correct.
Can it be any problem with the fact I have java.lang.Integer[]?
Does any one have some example of some similar situation that can give me as help? Thanks.
-- José Tomás LINK Consulting SA - http://www.link.pt Av. Duque de Avila 23 5º Dto. - 1000-138 Lisboa Telf: (+351) 213 100 095 Fax: (+351) 213 100 079
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]