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:ui="http://xmlns.jcp.org/jsf/facelets"
5 xmlns:h="http://xmlns.jcp.org/jsf/html"
6 xmlns:f="http://xmlns.jcp.org/jsf/core">
8 <ui:define name="login_title">
9 <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_CHANGE_EMAIL_ADDRESS}" />
12 <ui:define name="content_header">
13 <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_USER_CHANGE_EMAIL_ADDRESS}" />
16 <ui:define name="content">
17 <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('user_change_email_address')}">
18 <div class="table_header">
19 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" />
22 <h:form id="form_user_change_email_address">
23 <fieldset class="fieldset" id="change_email">
24 <legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">
25 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_LEGEND}" />
28 <h:panelGroup styleClass="table_row" layout="block">
29 <div class="table_left">
30 <h:outputText value="#{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}" />
33 <div class="table_right">
34 <h:outputText value="#{contactController.emailAddress}" />
37 <div class="clear"></div>
40 <ui:include src="/WEB-INF/templates/login/user/user_change_email_address_repeat_fields.tpl" />
43 <div class="para"></div>
45 <ui:include src="/WEB-INF/templates/login/login_enter_current_password.tpl" />
47 <div class="table_footer">
48 <h:commandButton class="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
49 <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{userEmailChangeController.doUserChangeEmailAddress()}" />
54 <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_change_email_address')}">
55 <ui:include src="/WEB-INF/templates/messages/message_box.tpl">
56 <ui:param name="message" value="#{msg.ERROR_LOGIN_USER_CHANGE_EMAIL_ADDRESS_DISABLED}" />
57 <ui:param name="styleClass" value="errors" />
61 <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
62 <ui:include id="login_only" src="/WEB-INF/templates/user/user_not_logged_in.tpl" />