my dog learned polymorphism*
The moose likes JSF and the fly likes My Custom Validator is not working as i want Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "My Custom Validator is not working as i want" Watch "My Custom Validator is not working as i want" New topic
Author

My Custom Validator is not working as i want

Yahya Arshad
Greenhorn

Joined: May 15, 2011
Posts: 26




i have made a custom validator for mobile number that entered mobile number should not greater than 12 and must have - charachter at location 4 (0321-3809083 for example) but there when i run it see only length and '-' charachter at location 4 but if it contatins other than digit on other place it take it ok

please help me to findout a bug

also if any one can give me link t o findout the Pattern way...
please reply thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My Custom Validator is not working as i want
 
Similar Threads
How to use validation with example need
JSF validation not validating
Problem jsf cutom validation -- validate method dont call
how to read the label name for a component
display error message