<?xml version="1.0" encoding="UTF-8" ?>
+<!-- @TODO Hard-coded values below -->
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
- <!-- @TODO Hard-coded values below -->
- <p:panelGrid layout="grid" columns="3" styleClass="table table-full ui-noborder" rendered="#{empty rendered or rendered == true}">
+ <p:panelGrid layout="grid" columns="3" columnClasses="ui-grid-col-5,ui-grid-col-2,ui-grid-col-5" styleClass="table table-full ui-noborder" rendered="#{empty rendered or rendered == true}">
+ <p:outputLabel for="productNetPrice" value="#{project.ENTER_NET_PRICE}" />
+
+ <p:outputLabel for="productTaxRate" value="#{project.ENTER_TAX_RATE}" />
+
+ <p:outputLabel for="productGrossPrice" value="#{project.ENTER_GROSS_PRICE}" />
+
<p:inputNumber
id="productNetPrice"
+ title="#{project.ENTER_PRODUCT_NET_PRICE_TITLE}"
value="#{targetController.productNetPrice}"
symbol=" EUR"
symbolPosition="s"
<p:inputNumber
id="productTaxRate"
+ title="#{project.ENTER_PRODUCT_TAX_RATE_TITLE}"
value="#{targetController.productTaxRate}"
symbol="%"
symbolPosition="s"
+ thousandSeparator="."
decimalSeparator=","
emptyValue="sign"
>
<p:inputNumber
id="productGrossPrice"
+ title="#{project.ENTER_PRODUCT_GROSS_PRICE_TITLE}"
value="#{targetController.productGrossPrice}"
symbol=" EUR"
symbolPosition="s"
decimalSeparator=","
thousandSeparator="."
required="true"
- requiredMessage="#{project.ADMIN_PRODUCT_GROSS_PRICE_REQUIRED}"
+ requiredMessage="#{project.PRODUCT_GROSS_PRICE_REQUIRED}"
>
</p:inputNumber>
</p:panelGrid>
<context-param>
<description>Generic custom JSF tags library</description>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
- <param-value>/WEB-INF/widgets.jsf.taglib.xml;/WEB-INF/links.jsf.taglib.xml;/WEB-INF/project-links.jsf.taglib.xml</param-value>
+ <param-value>/WEB-INF/widgets.jsf.taglib.xml;/WEB-INF/links.jsf.taglib.xml;/WEB-INF/project-links.jsf.taglib.xml;/WEB-INF/product.jsf.taglib.xml</param-value>
</context-param>
<context-param>
<description>Project stage</description>