]> git.mxchange.org Git - jfinancials-war.git/blob - web/admin/generic_product/admin_generic_product_show.xhtml
Product-only:
[jfinancials-war.git] / web / admin / generic_product / admin_generic_product_show.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
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"
9         >
10
11         <ui:define name="metadata">
12                 <f:metadata>
13                         <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}" />
14                         <f:viewAction action="#{productBeanHelper.notifyControllerProductConverted()}" />
15                 </f:metadata>
16         </ui:define>
17
18         <ui:define name="document_admin_title">
19                 <h:outputText value="#{project.PAGE_TITLE_ADMIN_SHOW_GENERIC_PRODUCT}" />
20         </ui:define>
21
22         <ui:define name="content_header">
23                 <h:outputText value="#{project.CONTENT_TITLE_ADMIN_SHOW_GENERIC_PRODUCT}" />
24         </ui:define>
25
26         <ui:define name="content">
27                 <p:message for="productId" showSummary="true" />
28                 <!-- @TODO Here goes your content. //-->
29         </ui:define>
30 </ui:composition>