Dear Wiki user,

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

The following page has been changed by AdriaanJoubert:
http://wiki.apache.org/tapestry/Tapestry5HowToAddValidators

------------------------------------------------------------------------------
- Here is a short description how to add validators to Tapestry 5. Changes and 
corrections welcome.
+ Here is a short description how to add validators to Tapestry 5. In this 
example a validator is added to check whether the contents of a text field can 
be parsed as an integer. Changes and corrections welcome.
  
  First define a validation class. This validator does not take an argument (as 
in min=5 e.g.), so the first template parameter is `Void`. As no conversion to 
a specific type of the contents is required, use `Object` as the second 
parameter. 
  

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

Reply via email to