I'm using intake to validate my forms .....
I wanna have more than one PERSON validated in a form ..... how can I map them to 
different references of Person class???
Do I have to create multiple groups in intake.xml to populate each object ?


intake.xml
<group name="Person" key="pess" mapToObject="om.Person">
         
  <field name="Name" key="nm" type="String">
          <rule name="mask"  value="^[a-zA-Z ]*$">
           wrong syntax .</rule> 
  </field>
</group>


bla.vm
#set ($Person=$intake.Person.Default) 
<input type="TEXT" name="$Person.Name.Key" value="$Person.Name">

Diogo Saad
Inter Business Tecnologia e Servi�os
[EMAIL PROTECTED]

Reply via email to