I found the following example of validating an indexed property:

         <field    property="cityStateZip.zipPostal[1]"
                   depends="required,mask"
                   page="2">
                     <arg0 key="registrationForm.zippostal.displayname"/>
                     <var>
                       <var-name>mask</var-name>
                       <var-value>${zip}</var-value>
                     </var>
         </field>

Is it possible to do this without hardcoding the [1]?  I don't know how many
rows of beans will be in my page, but I do know the required fields in each
row.  Is this possible to render with the Validator - or do I have to resort
to writing my own javascript?

Thanks,

Matt


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

Reply via email to