1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:generic="http://mxchange.org/jsf/core"
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="metadata">
11 <f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
12 <f:viewAction action="#{beanHelper.notifyControllerUserConverted()}" />
16 <ui:define name="admin_title">
17 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_EDIT_USER}" />
20 <ui:define name="content_header">
21 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_EDIT_USER}" />
24 <ui:define name="content">
25 <generic:outputMessageBox message="#{msg.ERROR_USER_ID_NOT_FOUND}" styleClass="errors" rendered="#{empty beanHelper.user}" />
27 <h:form id="form_edit_user" rendered="#{not empty beanHelper.user}">
28 <h:panelGroup styleClass="table_medium" layout="block">
29 <div class="table_header">
30 <h:outputText value="#{msg.ADMIN_EDIT_USER_TITLE}" />
33 <div class="para notice">
34 <h:outputText value="#{msg.ADMIN_USER_PERSONAL_DATA_MINIMUM_NOTICE}" />
37 <ui:include src="/WEB-INF/templates/admin/user/admin_form_user_data.tpl">
38 <ui:param name="mode" value="edit" />
41 <div class="table_footer">
42 <h:commandButton styleClass="reset right_space" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
43 <h:commandButton styleClass="submit" type="submit" id="edit_user" value="#{msg.BUTTON_ADMIN_EDIT_USER}" action="#{adminUserController.editUserData()}" />