1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:core="http://mxchange.org/jsf/core/widgets"
5 xmlns:f="http://xmlns.jcp.org/jsf/core"
6 xmlns:h="http://xmlns.jcp.org/jsf/html"
7 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
8 xmlns:p="http://primefaces.org/ui"
12 legend="#{msg.ADMIN_USER_DATA_EMAIL_LEGEND}"
13 title="#{msg.ADMIN_USER_DATA_EMAIL_LEGEND_TITLE}"
14 rendered="#{not empty mode}"
18 columnClasses="ui-grid-col-4,ui-grid-col-8"
19 styleClass="ui-noborder"
21 <p:outputLabel for="userName" value="#{msg.ADMIN_PERSONAL_DATA_ENTER_USER_NAME}" />
22 <p:inputText id="userName" size="20" maxlength="255" value="#{adminUserController.userName}" required="true" requiredMessage="#{msg.ADMIN_USER_NAME_IS_REQUIRED}" />
24 <p:outputLabel for="userPassword" value="#{msg.ADMIN_USER_DATA_ENTER_PASSWORD}" />
25 <p:inputText type="password" id="userPassword" size="10" maxlength="255" value="#{adminUserController.userPassword}" />
27 <p:outputLabel for="userPasswordRepeat" value="#{msg.ADMIN_USER_DATA_ENTER_PASSWORD_REPEAT}" />
28 <p:inputText type="password" id="userPasswordRepeat" size="10" maxlength="255" value="#{adminUserController.userPasswordRepeat}" />
30 <p:outputLabel for="userMustChangePassword" value="#{msg.ADMIN_USER_MUST_CHANGE_PASSWORD}" />
31 <p:selectBooleanCheckbox id="userMustChangePassword" value="#{adminUserController.userMustChangePassword}" />
33 <p:outputLabel for="userProfileMode" value="#{msg.ADMIN_SELECT_USER_PROFILE_MODE}" />
36 value="#{adminUserController.userProfileMode}"
38 filterMatchMode="contains"
41 <f:selectItem itemValue="#{null}" itemLabel="#{msg.PLEASE_SELECT}" noSelectionOption="true" itemDisabled="true" />
44 value="#{dataController.profileModes}"
46 itemValue="#{profileMode}"
47 itemLabel="#{msg[profileMode.messageKey]}"
54 legend="#{msg.ADMIN_USER_DATA_NOTICES_LEGEND}"
55 rendered="#{not empty mode}"
58 <li><h:outputText value="#{msg.ADMIN_USER_DATA_USER_NAME_NOTICE}" /></li>
61 <h:outputText value="#{msg.ADMIN_USER_DATA_PASSWORD_EDIT_NOTICE}" rendered="#{mode == 'edit'}" />
62 <h:outputText value="#{msg.ADMIN_USER_DATA_PASSWORD_ADD_NOTICE}" rendered="#{mode == 'add'}" />