]> git.mxchange.org Git - pizzaservice-war.git/commit
Continued with email address validator (cherry-pick/rename this)
authorRoland Häder <roland@mxchange.org>
Fri, 13 May 2016 10:03:34 +0000 (12:03 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 13 May 2016 19:48:09 +0000 (21:48 +0200)
commit02b8c1e45ffd0ee5a7aa5adc47f6a8fb66571f40
tree41f31006139627727406515980b747ae18d48f58
parent64d8753e2a49c43ad1c95b68b600ef2332c3db85
Continued with email address validator (cherry-pick/rename this)
- added email address validator with regex validation and checking if the contact EJB reports an exisiting account
- this validator can be used in JSF pages/templates like: validator="EmailAddressValidator"
- in addition you may want to use a simple regex validator in addition to this to prevent ugly messages being shown
- added message output for missing privacy/terms checkboxes
- added required-message for email address

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebSessionBean.java
src/java/org/mxchange/pizzaapplication/beans/register/PizzaUserRegisterWebSessionBean.java
src/java/org/mxchange/pizzaapplication/validator/emailaddress/PizzaEmailAddressValidator.java [new file with mode: 0644]
web/WEB-INF/templates/guest/guest_email_address_repeat_fields.tpl
web/WEB-INF/templates/guest/guest_privacy_terms.tpl
web/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl