This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Email address validation in Stripes? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply Bookmark "Email address validation in Stripes?" Watch "Email address validation in Stripes?" New topic
Author

Email address validation in Stripes?

pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 362

Hi,

I am working on Stripes and Its looking great to me, i just want to know is there inbuilt email address validation in Stripes? Like we have required and all using annotations?


Regards,
Pawan Chopra.


Pawan Chopra
SCJP - DuMmIeS mInD
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35249
    
    7
That's what EmailTypeConverter is for. The field holding the email address should be annotated something like this:


Android appsImageJ pluginsJava web charts
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

Not that this type converter requires that you have mail.jar and standard.jar in your application's classpath to work. The validator resuses some code from the javamail API.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Email address validation in Stripes?
 
Similar Threads
ValidatorMessages.properties
Email Address Validation
Jakarta RegExp - Email Validation
mobwarrior - written with J2EE :)
Display actual value in validations