]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/login/user/user_enter_current_password.tpl
Please cherry-pick:
[pizzaservice-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 class="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                                 <h:panelGroup styleClass="table_row" layout="block">
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.userCurrentPassword}" required="true" validatorMessage="#{msg.ERROR_USER_CURRENT_PASSWORD_MISMATCHING}">
21                                                         <!-- <f:validator for="currentPassword" validatorId="PizzaUserPasswordValidator" /> //-->
22                                                 </h:inputSecret>
23                                         </div>
24
25                                         <div class="clear"></div>
26
27                                         <h:panelGroup styleClass="error_container" layout="block">
28                                                 <h:message for="currentPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
29                                         </h:panelGroup>
30                                 </h:panelGroup>
31                         </fieldset>
32                 </div>
33 </ui:composition>