Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use validation with example need

 
Jayaa Prakashh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am jayapraaksh i need example using validation and convertion
pl help me .
 
Anu Sri
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic