commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-commons Wiki] Update of "ValidatorVersion120" by NiallPemberton
Date Wed, 02 Nov 2005 14:29:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification.

The following page has been changed by NiallPemberton:
http://wiki.apache.org/jakarta-commons/ValidatorVersion120

The comment on the change is:
Update links to RC3

------------------------------------------------------------------------------
- The aim of this page is to provide a summary of the changes in '''Validator 1.2.0'''. For
a full list of the changes in Validator 1.2.0 see the [http://people.apache.org/~niallp/commons-validator/1.2.0-rc2/site/changes-report.html
Changes Report].
+ The aim of this page is to provide a summary of the changes in '''Validator 1.2.0'''. For
a full list of the changes in Validator 1.2.0 see the [http://people.apache.org/~niallp/commons-validator/1.2.0-rc3/site/changes-report.html
Changes Report].
  
  ----
  
@@ -10, +10 @@

   * '''Implicit''' ''Locale'' inheritance
  
  === 1.1 Explicit Form Inheritance ===
- Explicit Form Inheritance is where one [http://people.apache.org/~niallp/commons-validator/1.2.0-rc2/site/apidocs/org/apache/commons/validator/Form.html
Form] can inherit from another by specifying the name of the form to inherit using the new
'''extends''' property (which is also an new attribute in the [http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/validator/trunk/conf/share/validator_1_2_0.dtd?view=markup
validator_1_2_0.dtd]). See [http://issues.apache.org/bugzilla/show_bug.cgi?id=27870 #27870].
+ Explicit Form Inheritance is where one [http://people.apache.org/~niallp/commons-validator/1.2.0-rc3/site/apidocs/org/apache/commons/validator/Form.html
Form] can inherit from another by specifying the name of the form to inherit using the new
'''extends''' property (which is also an new attribute in the [http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/validator/trunk/conf/share/validator_1_2_0.dtd?view=markup
validator_1_2_0.dtd]). See [http://issues.apache.org/bugzilla/show_bug.cgi?id=27870 #27870].
  
  
  In the following example '''nameForm''' inherits from '''baseForm''', overriding the '''lastName'''
field...
@@ -45, +45 @@

  == 2. Variables in Resource Bundles ==
  One motivation for having different Form Sets was due to the fact that '''variable''' values
needed to be different for different locales. Validator 1.2.0 has the facility to specify
variable values in resource bundles which removes the need for multiple formsets in this instance
  
- Two new properties have been added to [http://people.apache.org/~niallp/commons-validator/1.2.0-rc2/site/apidocs/org/apache/commons/validator/Var.html
Variable] - '''resource''' and '''bundle'''. Setting '''resource''' to '''true''' (default
is ''false'') indicates that the variable's value is a ''resource key''. Additionally the
(optional) '''bundle''' property can be set to the name of an alternative resource bundle.
+ Two new properties have been added to [http://people.apache.org/~niallp/commons-validator/1.2.0-rc3/site/apidocs/org/apache/commons/validator/Var.html
Variable] - '''resource''' and '''bundle'''. Setting '''resource''' to '''true''' (default
is ''false'') indicates that the variable's value is a ''resource key''. Additionally the
(optional) '''bundle''' property can be set to the name of an alternative resource bundle.
  
  In the following example the value of '''datePattern''' variable is specified in the '''validatorVariables'''
bundle under a key of '''dateOfBirth.pattern'''.
  

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


Mime
View raw message