1 <?xml version="1.0" encoding="UTF-8" ?>
3 template="/WEB-INF/templates/admin/admin_base.tpl"
4 xmlns="http://www.w3.org/1999/xhtml"
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"
8 xmlns:p="http://primefaces.org/ui"
11 <ui:define name="metadata">
15 value="#{adminDepartmentActionController.currentDepartment}"
16 converter="DepartmentConverter"
18 requiredMessage="#{msg.ERROR_PARAMETER_DEPARTMENT_ID_NOT_SET}"
19 converterMessage="#{msg.PARAMETER_DEPARTMENT_ID_INVALID}"
23 action="#{adminDepartmentActionController.copyAllDepartmentProperties()}"
28 <ui:define name="document_admin_title">
29 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_EDIT_DEPARTMENT}" />
32 <ui:define name="content_header">
33 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_EDIT_DEPARTMENT}" />
36 <ui:define name="content">
38 id="form-admin-edit-department"
39 rendered="#{not empty adminDepartmentActionController.currentDepartment}"
41 <h:inputHidden value="#{adminDepartmentActionController.departmentId}" />
47 <f:facet name="header">
49 value="#{msg.ADMIN_EDIT_DEPARTMENT_TITLE}"
50 title="#{beanHelper.renderDepartment(adminDepartmentActionController.currentDepartment, false)}"
52 <f:param value="#{local[adminDepartmentActionController.departmentI18nKey]}" />
53 <f:param value="#{adminDepartmentActionController.departmentId}" />
57 <h:panelGroup styleClass="para" layout="block">
58 <h:outputText value="#{msg.ADMIN_DEPARTMENT_MINIMUM_DATA}" />
61 <ui:include src="/WEB-INF/templates/admin/business/department/admin_form_department_data.tpl" />
63 <f:facet name="footer">
64 <p:panelGrid columns="2" layout="grid">
67 value="#{msg.BUTTON_RESET_FORM}"
72 value="#{msg.BUTTON_ADMIN_EDIT_DEPARTMENT}"
73 action="#{adminDepartmentActionController.updateDepartment()}"