From: <wea...@us...> - 2003-08-17 01:30:12
|
Update of /cvsroot/struts/struts-polls/WEB-INF In directory sc8-pr-cvs1:/tmp/cvs-serv31007 Modified Files: validation.xml Log Message: no message Index: validation.xml =================================================================== RCS file: /cvsroot/struts/struts-polls/WEB-INF/validation.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** validation.xml 27 Feb 2003 23:13:27 -0000 1.1.1.1 --- validation.xml 17 Aug 2003 01:30:09 -0000 1.2 *************** *** 2,64 **** <!-- ! Validation Rules for the Portable Logon Component --> <form-validation> ! <!-- ========== Default Language Form Definitions ===================== --> <formset> - <form name="logonForm"> - <field property="username" - depends="minlength,maxlength"> - <arg0 key="prompt.username"/> - <arg1 key="${var:minlength}" name="minlength" - resource="false"/> - <arg2 key="${var:maxlength}" name="maxlength" - resource="false"/> - <var> - <var-name>maxlength</var-name> - <var-value>16</var-value> - </var> - <var> - <var-name>minlength</var-name> - <var-value>3</var-value> - </var> - </field> - - <field property="password" - depends="minlength,maxlength"> - <arg0 key="prompt.password"/> - <arg1 key="${var:minlength}" name="minlength" - resource="false"/> - <arg2 key="${var:maxlength}" name="maxlength" - resource="false"/> - <var> - <var-name>maxlength</var-name> - <var-value>16</var-value> - </var> - <var> - <var-name>minlength</var-name> - <var-value>3</var-value> - </var> - </field> - </form> ! <form name="registrationForm"> ! <field property="contact" ! depends="email"> ! <arg0 key="prompt.contact"/> ! </field> ! ! <field property="fullName" depends="required"> ! <arg0 key="prompt.fullName"/> </field> ! ! <field property="username" ! depends="required"> ! <arg0 key="prompt.username"/> </field> </form> </formset> </form-validation> --- 2,24 ---- <!-- ! Validation Rules for the Polls Component --> <form-validation> ! <!-- ========== Default Form Definitions ===================== --> <formset> ! <form name="pollForm"> ! <field property="name" depends="required"> ! <arg0 key="prompt.name"/> </field> ! <field property="expiry" ! depends="integer"> ! <arg0 key="prompt.value"/> </field> </form> + </formset> </form-validation> |