You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by co...@jakarta.apache.org on 2004/05/20 21:48:21 UTC

[Jakarta Commons Wiki] Updated: ValidatorXmlFile

   Date: 2004-05-20T12:48:21
   Editor: RobertBurrellDonkin <rd...@apache.org>
   Wiki: Jakarta Commons Wiki
   Page: ValidatorXmlFile
   URL: http://wiki.apache.org/jakarta-commons/ValidatorXmlFile

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -2,7 +2,7 @@
 i done it based on the dtd file bot it dont works. the validator doesnt get the value. an so ich have an nullpointer exception.
 
 how must i write the argument in the field element?
-
+{{{
       <field property="name"
         depends="required,minlength,maxlength">
         <arg0 key="register.validate.name"/>
@@ -21,7 +21,7 @@
           <var-value>255</var-value>
         </var>
       </field>
-
+}}}
 Arg0 is the argument for all 3 rules - required, min & max len. 
 Arg1 name="minlength" is used by minlength
 Arg1 name="maxlength" is used by maxlength

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org