]> git.mxchange.org Git - addressbook-war.git/blob - web/WEB-INF/templates/login/user/user_enter_current_password.tpl
Used much more h:outputText instead of directly the message in the template. This...
[addressbook-war.git] / web / WEB-INF / templates / login / user / user_enter_current_password.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:f="http://java.sun.com/jsf/core"
5         xmlns:h="http://java.sun.com/jsf/html"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
7
8         <div class="para">
9                 <fieldset id="current_password">
10                         <legend title="#{msg.LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND_TITLE}">
11                                 <h:outputText value="#{msg.LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND}" />
12                         </legend>
13
14                         <div class="table_row">
15                                 <div class="table_left">
16                                         <h:outputLabel for="currentPassword" value="#{msg.LOGIN_ENTER_CURRENT_PASSWORD_CONFIRM}" />
17                                 </div>
18
19                                 <div class="table_right">
20                                         <h:inputSecret styleClass="input" id="currentPassword" size="10" maxlength="255" value="#{userLoginController.currentPassword}" required="true" validatorMessage="#{msg.ERROR_CURRENT_PASSWORD_MISMATCHING}">
21                                                 <h:message for="currentPassword" styleClass="errors" />
22                                                 <!-- <f:validator for="currentPassword" validatorId="RecruiterUserPasswordValidator" /> //-->
23                                         </h:inputSecret>
24                                 </div>
25
26                                 <div class="clear"></div>
27                         </div>
28                 </fieldset>
29         </div>
30 </ui:composition>