*/
private String emailAddress;
+ /**
+ * Email address 1 (changing)
+ */
+ private String emailAddress1;
+
+ /**
+ * Email address 2 (repeat in changing)
+ */
+ private String emailAddress2;
+
/**
* Email address list
*/
this.emailAddress = emailAddress;
}
+ @Override
+ public String getEmailAddress1 () {
+ return this.emailAddress1;
+ }
+
+ @Override
+ public void setEmailAddress1 (final String emailAddress1) {
+ this.emailAddress1 = emailAddress1;
+ }
+
+ @Override
+ public String getEmailAddress2 () {
+ return this.emailAddress2;
+ }
+
+ @Override
+ public void setEmailAddress2 (final String emailAddress2) {
+ this.emailAddress2 = emailAddress2;
+ }
+
@Override
public String getEmailAddressRepeat () {
return this.emailAddressRepeat;
*/
void setEmailAddress (final String emailAddress);
+ /**
+ * Getter for email address 1 (changing)
+ * <p>
+ * @return Email address
+ */
+ String getEmailAddress1 ();
+
+ /**
+ * Setter for email address 1 (changing)
+ * <p>
+ * @param emailAddress1 Email address 1
+ */
+ void setEmailAddress1 (final String emailAddress1);
+
+ /**
+ * Getter for email address 2 (repeat changing)
+ * <p>
+ * @return Email address 2
+ */
+ String getEmailAddress2 ();
+
+ /**
+ * Setter for email address 2 (repeat changing)
+ * <p>
+ * @param emailAddress2 Email address 2
+ */
+ void setEmailAddress2 (final String emailAddress2);
+
/**
* Getter for email address, repeated
* <p>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
<fieldset id="change_email">
<legend title="#{msg.LOGIN_CHANGE_EMAIL_LEGEND_TITLE}">#{msg.LOGIN_CHANGE_EMAIL_LEGEND}</legend>
+ <div class="table_row">
+ <div class="table_left">
+ #{msg.LOGIN_CHANGE_EMAIL_OLD_ADDRESS}
+ </div>
+
+ <div class="table_right">
+ #{userController.emailAddress}
+ </div>
+
+ <div class="clear"></div>
+ </div>
+
<div class="table_row">
<div class="table_left">
<h:outputLabel for="emailAddress1" value="#{msg.LOGIN_CHANGE_EMAIL_ENTER_EMAIL1}" />
</div>
<div class="table_right">
- <h:inputText class="input" id="emailAddress1" size="20" maxlength="255" value="#{userController.emailAddress}" required="true" />
+ <h:inputText class="input" id="emailAddress1" size="20" maxlength="255" value="#{userController.emailAddress1}" required="true" />
</div>
<div class="clear"></div>
</div>
<div class="table_right">
- <h:inputText class="input" id="emailAddress2" size="20" maxlength="255" value="#{userController.emailAddressRepeat}" required="true" />
+ <h:inputText class="input" id="emailAddress2" size="20" maxlength="255" value="#{userController.emailAddress2}" required="true" />
</div>
<div class="clear"></div>
<div class="table_footer">
<h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
- <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{userController.changeEmailAddress()}" />
+ <h:commandButton class="submit" type="submit" id="change_email" value="#{msg.BUTTON_CHANGE_EMAIL_ADDRESS}" action="#{userController.doChangeEmailAddress()}" />
</div>
</h:form>
</div>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>
</ui:fragment>
<ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
- <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
+ <ui:include id="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />
</ui:fragment>
</ui:define>
</ui:composition>