File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes How to use validation with example need Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Meteor in Action this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to use validation with example need" Watch "How to use validation with example need" New topic
Author

How to use validation with example need

Jayaa Prakashh
Greenhorn

Joined: Jul 19, 2008
Posts: 1
i am jayapraaksh i need example using validation and convertion
pl help me .
Anu Sri
Greenhorn

Joined: May 19, 2008
Posts: 16
here is an example of Email validator

Write a custom validator class EmailValidator.java with required imports,



Register the validator in faces-config.xml




Use the validatorId in jsp to invoke the validator

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to use validation with example need