aspose file tools*
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
Author

validatores in JSF

zohreh talebi
Ranch Hand

Joined: Sep 01, 2006
Posts: 41
Hi,

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?

Regards
Zohreh
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

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



Customer surveys are for companies who didn't pay proper attention to begin with.
Tak Ng
Greenhorn

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

Take a look at http://myfaces.apache.org/tomahawk/

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: http://aspose.com/file-tools
 
subject: validatores in JSF