1 <?xml version="1.0" encoding="UTF-8" ?>
3 template="/WEB-INF/templates/guest/guest_base.tpl"
4 xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:core="http://mxchange.org/jsf/core/widgets"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
8 xmlns:f="http://xmlns.jcp.org/jsf/core"
9 xmlns:p="http://primefaces.org/ui"
12 <ui:define name="document_guest_title">
13 <h:outputText value="#{msg.PAGE_TITLE_USER_LOST_PASSWORD}" />
16 <ui:define name="content_header">
17 <h:outputText value="#{msg.CONTENT_TITLE_USER_LOST_PASSWORD}" />
20 <ui:define name="content">
21 <core:outputMessageBox
22 panelGroupId="errorUserRecoveryDisabled"
23 message="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DISABLED}"
24 messageStyleClass="alert-danger"
25 rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}"
28 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name') and featureController.isFeatureEnabled('user_password_recovery')}">
29 <div id="user_lost_password_content">
31 <h:panelGroup styleClass="table" layout="block">
32 <div class="table-header">
33 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
36 <fieldset class="fieldset">
37 <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">
38 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_LEGEND}" />
41 <h:panelGroup styleClass="table-row" layout="block">
42 <div class="table-left">
43 <p:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
46 <div class="table-right">
47 <p:inputText id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
51 <div class="table-header">
52 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}" />
55 <h:panelGroup styleClass="table-row" layout="block">
56 <div class="table-left">
57 <p:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
60 <div class="table-right">
61 <p:inputText id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
66 <p:panelGrid columns="2" layout="grid">
69 value="#{msg.BUTTON_RESET_FORM}"
74 value="#{msg.BUTTON_CONTINUE_STEP_2}"
75 action="#{passwordRecoveryController.doLostPasswordStep2()}"