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:ui="http://xmlns.jcp.org/jsf/facelets"
5 xmlns:h="http://xmlns.jcp.org/jsf/html"
6 xmlns:f="http://xmlns.jcp.org/jsf/core"
7 xmlns:p="http://primefaces.org/ui"
10 <ui:define name="metadata">
12 <f:viewParam id="productId" name="productId" value="#{productBeanHelper.product}" converter="GenericProductConverter" required="true" requiredMessage="#{project.ERROR_PARAMETER_PRODUCT_ID_NOT_SET}" converterMessage="#{project.PARAMETER_PRODUCT_ID_INVALID}" />
13 <f:viewAction onPostback="true" action="#{productBeanHelper.notifyControllerProductConverted()}" />
17 <ui:define name="document_admin_title">
18 <h:outputText value="#{project.PAGE_TITLE_ADMIN_GENERIC_PRODUCT_EDIT}" />
21 <ui:define name="content_header">
22 <h:outputText value="#{project.CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_EDIT}" />
25 <ui:define name="content">
26 <p:message for="productId" showSummary="true" />
27 <!-- @TODO Here goes your content. //-->