| 
                         I would like to check if an entered e-mail adress is valid or not. I know IVY uses JSR 303 validations, but unfortunately there is no e-mail validation? Can anybody provide a small IVY project sample?  | 
                
| 
                                     Hi Peter, i used following validater for the Inputfield 
hope that helps. Roland  | 
                            
| 
                                     Thanks for your help Reguel! I have found an additional helpful link:  | 
                            
| 
                                     You can use bean validation of type regex to validat mail addresses. I've created a demo IAR here. The approach is quite simple. I use a normal java bean with an annotated e-mail field. This java class is used on a JSF dialog and therefore annotations are automatically validated. 
Bean validation compared to in view validation (as shown by roland) has an advantage. You can re-use the validation on every dialog where you use the bean without writing extra code. So define validation once, have a valid state everywhere...  | 
                            
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 17.02.2015 at 16:51
Seen: 7,050 times
Last updated: 19.02.2015 at 11:58