]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/guest/guest_email_address_repeat_fields.tpl
Continued with email address validator (cherry-pick/rename this)
[jjobs-war.git] / web / WEB-INF / templates / guest / guest_email_address_repeat_fields.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
5         xmlns:h="http://xmlns.jcp.org/jsf/html"
6         xmlns:f="http://xmlns.jcp.org/jsf/core"
7         >
8
9         <div class="table_row">
10                 <div class="table_left">
11                         <h:outputLabel for="emailAddress" value="#{msg.GUEST_REGISTRATION_ENTER_EMAIL}" />
12                 </div>
13
14                 <div class="table_right">
15                         <h:inputText styleClass="input" id="emailAddress" size="20" maxlength="255" value="#{contactController.emailAddress}" required="true" requiredMessage="#{msg.EMAIL_ADDRESS_NOT_ENTERED}">
16                                 <f:validator validatorId="EmailAddressValidator" />
17                         </h:inputText>
18                 </div>
19
20                 <div class="clear"></div>
21         </div>
22
23         <div class="table_row">
24                 <div class="table_left">
25                         <h:outputLabel for="emailAddressRepeat" value="#{msg.GUEST_REGISTRATION_ENTER_EMAIL_REPEAT}" />
26                 </div>
27
28                 <div class="table_right">
29                         <h:inputText styleClass="input" id="emailAddressRepeat" size="20" maxlength="255" value="#{contactController.emailAddressRepeat}" required="true" requiredMessage="#{msg.EMAIL_ADDRESS_REPEAT_NOT_ENTERED}" />
30                 </div>
31
32                 <div class="clear"></div>
33         </div>
34
35         <div>
36                 <h:message for="emailAddress" errorClass="errors" warnClass="warnings" fatalClass="errors" />
37         </div>
38
39         <div>
40                 <h:message for="emailAddressRepeat" errorClass="errors" warnClass="warnings" fatalClass="errors" />
41         </div>
42 </ui:composition>