1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:f="http://xmlns.jcp.org/jsf/core"
5 xmlns:h="http://xmlns.jcp.org/jsf/html"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
8 <h:outputText styleClass="errors" value="#{msg.ADMIN_USER_DATA_PASSWORD_NOTICE}" rendered="#{empty mode}" />
10 <ui:fragment rendered="#{not empty mode}">
12 <fieldset id="login_data">
13 <legend title="#{msg.ADMIN_USER_DATA_EMAIL_LEGEND_TITLE}">
14 <h:outputText value="#{msg.ADMIN_USER_DATA_EMAIL_LEGEND}" />
17 <div class="table_row">
18 <div class="table_left_medium">
19 <h:outputLabel for="userName" value="#{msg.ADMIN_PERSONAL_DATA_ENTER_USER_NAME}" />
22 <div class="table_right_medium">
23 <h:inputText styleClass="input" id="userName" size="20" maxlength="255" value="#{adminUserController.userName}" required="true" />
26 <div class="clear"></div>
29 <div class="para"></div>
31 <div class="table_row">
32 <div class="table_left_medium">
33 <h:outputLabel for="userPassword" value="#{msg.ADMIN_USER_DATA_ENTER_PASSWORD}" />
36 <div class="table_right_medium">
37 <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{adminUserController.userPassword}" />
40 <div class="clear"></div>
43 <div class="table_row">
44 <div class="table_left_medium">
45 <h:outputLabel for="userPasswordRepeat" value="#{msg.ADMIN_USER_DATA_ENTER_PASSWORD_REPEAT}" />
48 <div class="table_right_medium">
49 <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{adminUserController.userPasswordRepeat}" />
52 <div class="clear"></div>
55 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_must_change_password')}">
56 <div class="table_row">
57 <div class="table_left_medium">
58 <h:outputLabel for="userMustChangePassword" value="#{msg.ADMIN_USER_MUST_CHANGE_PASSWORD}" />
61 <div class="table_right_medium">
62 <h:selectBooleanCheckbox styleClass="input" id="userMustChangePassword" value="#{adminUserController.userMustChangePassword}" />
65 <div class="clear"></div>
69 <div class="para notice">
72 <h:outputText value="#{msg.ADMIN_USER_DATA_USER_NAME_NOTICE}" />
76 <h:outputText value="#{msg.ADMIN_DATA_PASSWORD_EDIT_NOTICE}" rendered="#{mode == 'edit'}" />
77 <h:outputText value="#{msg.ADMIN_USER_DATA_PASSWORD_ADD_NOTICE}" rendered="#{mode == 'add'}" />
81 <h:outputText value="#{msg.ADMIN_USER_DATA_EMAIL_ADDRESS_NOTICE}" />