]> git.mxchange.org Git - jfinancials-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 20:36:33 +0000 (22:36 +0200)
commit63327ac7633725d249cd4e04398f808b445954f1
treec9ed9b57496544a3980b0025868c3a748c03f518
parentb14b9e15dae8f252ab3e2a7b6da230900f0d9fb9
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/addressbook/beans/register/AddressbookUserRegisterWebSessionBean.java
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
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