File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes validatores in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "validatores in JSF" Watch "validatores in JSF" New topic

validatores in JSF

zohreh talebi
Ranch Hand

Joined: Sep 01, 2006
Posts: 41

as you know Struts comes with validators for email address, credit card numbers,regular expressions, and more but JSF only comes with validators for missing values, length of input, and numbers in a given range. how can we use these advantage of Struts in JSF?

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

Well, actually, you might consider using the JSF validators!

An IDE is no substitute for an Intelligent Developer.
Tak Ng

Joined: Jun 05, 2007
Posts: 19
The MyFaces Implementation of JSF includes validators for credit card, regular expressions, emails, etc.

Take a look at

On the left hand side of the page there are links that take you to example usages of these validators.
I agree. Here's the link:
subject: validatores in JSF
It's not a secret anymore!