]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/login/user/user_enter_current_password.tpl
8c6e2ecee0b1759a4bda0ba294d5b8b334a3296e
[jjobs-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         <ui:fragment rendered="#{empty targetController}">
9                 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
10                         <ui:param name="message" value="#{msg.ERROR_PARAMETER_TARGET_CONTROLLER_NOT_SET}" />
11                         <ui:param name="styleClass" value="errors" />
12                 </ui:include>
13         </ui:fragment>
14
15         <ui:fragment rendered="#{not empty targetController}">
16                 <div class="para">
17                         <fieldset class="fieldset" id="current_password">
18                                 <legend title="#{msg.LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND_TITLE}">
19                                         <h:outputText value="#{msg.LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND}" />
20                                 </legend>
21
22                                 <div class="table_row">
23                                         <div class="table_left">
24                                                 <h:outputLabel for="currentPassword" value="#{msg.LOGIN_ENTER_CURRENT_PASSWORD_CONFIRM}" />
25                                         </div>
26
27                                         <div class="table_right">
28                                                 <h:inputSecret styleClass="input" id="currentPassword" size="10" maxlength="255" value="#{targetController.userCurrentPassword}" required="true" validatorMessage="#{msg.ERROR_USER_CURRENT_PASSWORD_MISMATCHING}">
29                                                         <!-- <f:validator for="currentPassword" validatorId="RecruiterUserPasswordValidator" /> //-->
30                                                 </h:inputSecret>
31                                         </div>
32
33                                         <div class="clear"></div>
34
35                                         <h:panelGroup styleClass="error_container" layout="block">
36                                                 <h:message for="currentPassword" errorClass="errors" fatalClass="errors" warnClass="errors" />
37                                         </h:panelGroup>
38                                 </div>
39                         </fieldset>
40                 </div>
41         </ui:fragment>
42 </ui:composition>