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 panelGroupId="errorUserRecoveryDisabled" message="#{msg.ERROR_GUEST_USER_RECOVER_PASSWORD_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_login_require_user_name') or not featureController.isFeatureEnabled('user_password_recovery')}" />
23 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name') and featureController.isFeatureEnabled('user_password_recovery')}">
24 <div id="user_lost_password_content">
26 <h:panelGroup styleClass="table" layout="block">
27 <div class="table-header">
28 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_TITLE}" />
31 <fieldset class="fieldset">
32 <legend title="#{msg.GUEST_LOST_PASSWORD_LEGEND_TITLE}">
33 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_LEGEND}" />
36 <h:panelGroup styleClass="table-row" layout="block">
37 <div class="table-left">
38 <p:outputLabel for="id" value="#{msg.ENTER_USER_NAME}" />
41 <div class="table-right">
42 <p:inputText id="id" size="10" maxlength="20" value="#{passwordRecoveryController.userId}" />
46 <div class="table-header">
47 <h:outputText value="#{msg.GUEST_LOST_PASSWORD_NUMBER_OR_EMAIL}" />
50 <h:panelGroup styleClass="table-row" layout="block">
51 <div class="table-left">
52 <p:outputLabel for="email" value="#{msg.ENTER_EMAIL_ADDRESS}" />
55 <div class="table-right">
56 <p:inputText id="email" size="20" maxlength="255" value="#{passwordRecoveryController.emailAddress}" />
61 <p:panelGrid columns="2" layout="grid">
64 value="#{msg.BUTTON_RESET_FORM}"
69 value="#{msg.BUTTON_CONTINUE_STEP_2}"
70 action="#{passwordRecoveryController.doLostPasswordStep2()}"