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">
9 <ui:define name="login_title">
10 <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_CHANGE_EMAIL_ADDRESS}" />
13 <ui:define name="content_header">
14 <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_USER_CHANGE_EMAIL_ADDRESS}" />
17 <ui:define name="content">
18 <widgets:outputMessageBox message="#{msg.ERROR_LOGIN_USER_CHANGE_EMAIL_ADDRESS_DISABLED}" messageStyleClass="alert-danger" rendered="#{not featureController.isFeatureEnabled('user_change_email_address')}" />
20 <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('user_change_email_address')}">
21 <div class="table-header">
22 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" />
25 <h:form id="form_user_change_email_address">
26 <fieldset class="fieldset" id="change_email">
27 <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">
28 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_LEGEND}" />
31 <h:panelGroup styleClass="table-row" layout="block">
32 <div class="table-left">
33 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}" />
36 <div class="table-right">
37 <h:outputText value="#{contactController.emailAddress}" />
41 <ui:include src="/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl" />
44 <div class="para"></div>
46 <ui:include src="/WEB-INF/templates/login/login_enter_current_password.tpl" />
48 <div class="table-footer">
49 <h:commandButton class="reset divider-right" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
50 <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{userEmailChangeController.doUserChangeEmailAddress()}" />
55 <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
56 <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />