]> git.mxchange.org Git - jjobs-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>
Sat, 14 May 2016 13:10:31 +0000 (15:10 +0200)
commite6d74e850734c42e2092d1badf3b6a437bedda01
treec90a73aa15ac15a340a856d3cf5ec6baf7ef80b9
parent720fdb6484ca9fe5d071bab6518be166c079985c
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/jjobs/beans/contact/JobsContactWebSessionBean.java
src/java/org/mxchange/jjobs/beans/register/JobsUserRegisterWebSessionBean.java
src/java/org/mxchange/jjobs/validator/emailaddress/JobsEmailAddressValidator.java [new file with mode: 0644]
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
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