You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Madel,Kurt" <km...@csmi.com> on 2002/10/28 22:24:14 UTC

Struts Validator for multiple Selects

We have a multiple select that is required. The following works on server
side, but not client side:

<form name="milestoneDetailForm">
		<field 
			property="mspersonsIds[0]"
    		depends="required">
     	    <arg0 key="label.milestone.mspersonsIds"/>    	   
    	</field> 
   	</form>

If changed to the following, it is caught on the server side, but no message
is printed:
<form name="milestoneDetailForm">
		<field 
			property="mspersonsIds"
    		depends="required">
     	    <arg0 key="label.milestone.mspersonsIds"/>    	   
    	</field> 
   	</form>

Any ideas? Thanks

Kurt Madel
Programmer, CSMi
(703) 823-4300 ext. 170


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>