1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/login/user/user_base.tpl"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:widgets="http://mxchange.org/jsf/core/widgets"
5 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6 xmlns:h="http://xmlns.jcp.org/jsf/html"
7 xmlns:f="http://xmlns.jcp.org/jsf/core"
8 xmlns:p="http://primefaces.org/ui">
10 <ui:define name="login_title">
11 <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_CHANGE_EMAIL_ADDRESS}" />
14 <ui:define name="content_header">
15 <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_USER_CHANGE_EMAIL_ADDRESS}" />
18 <ui:define name="content">
19 <widgets:outputMessageBox message="#{msg.ERROR_LOGIN_USER_CHANGE_EMAIL_ADDRESS_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_change_email_address')}" />
21 <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('user_change_email_address')}">
22 <div class="table-header">
23 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" />
26 <h:form id="form_user_change_email_address">
27 <fieldset class="fieldset" id="change_email">
28 <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">
29 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_LEGEND}" />
32 <h:panelGroup styleClass="table-row" layout="block">
33 <div class="table-left">
34 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}" />
37 <div class="table-right">
38 <h:outputText value="#{contactController.emailAddress}" />
42 <ui:include src="/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl" />
45 <div class="para"></div>
47 <ui:include src="/WEB-INF/templates/login/login_enter_current_password.tpl" />
49 <div class="table-footer">
50 <p:commandButton class="reset divider-right" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
51 <p:commandButton class="submit" type="submit" id="button_change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{userEmailChangeController.doUserChangeEmailAddress()}" />
56 <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
57 <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />