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:product="http://mxchange.org/jsf/jproduct/widgets"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
8 xmlns:f="http://xmlns.jcp.org/jsf/core"
9 xmlns:p="http://primefaces.org/ui"
12 <ui:define name="metadata">
17 value="#{adminGenericProductActionController.product}"
18 converter="GenericProductConverter"
20 requiredMessage="#{project.ERROR_PARAMETER_PRODUCT_ID_NOT_SET}"
21 converterMessage="#{project.PARAMETER_PRODUCT_ID_INVALID}"
25 action="#{adminGenericProductActionController.copyAllProductProperties()}"
30 <ui:define name="document_admin_title">
31 <h:outputText value="#{project.PAGE_TITLE_ADMIN_GENERIC_PRODUCT_EDIT}" />
34 <ui:define name="content_header">
35 <h:outputText value="#{project.CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_EDIT}" />
38 <ui:define name="content">
42 rendered="#{empty adminGenericProductActionController.product}"
45 <h:form rendered="#{not empty adminGenericProductActionController.product}">
46 <h:inputHidden value="#{adminGenericProductActionController.productId}" />
52 <f:facet name="header">
53 <h:outputFormat value="#{project.ADMIN_EDIT_GENERIC_PRODUCT_TITLE}" title="#{local[adminGenericProductActionController.product.productI18nKey]}">
54 <f:param value="#{adminGenericProductActionController.product.productId}" />
58 <h:panelGroup styleClass="para" layout="block">
59 <h:outputText value="#{project.ADMIN_EDIT_GENERIC_PRODUCT_MINIMUM_DATA}" />
62 <product:genericProductForm
63 targetController="#{adminGenericProductActionController}"
64 allowDuplicates="true"
67 <f:facet name="footer">
68 <p:panelGrid columns="2" layout="grid">
71 value="#{msg.BUTTON_RESET_FORM}"
76 value="#{project.BUTTON_ADMIN_EDIT_GENERIC_PRODUCT}"
77 action="#{adminGenericProductActionController.updateProduct()}"