From 7440e119a8dd9c898d7039c9ed6b5154411e6b21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org> Date: Sat, 31 Mar 2018 00:57:34 +0200 Subject: [PATCH] Product-only: - <f:*> are not processed when the view is rendered but when "constructed" - therefore EL expressions cannot reference only "static" data, not data that will be dynamically provided MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder <roland@mxchange.org> --- .../generic_product/admin_generic_product_list.xhtml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web/admin/generic_product/admin_generic_product_list.xhtml b/web/admin/generic_product/admin_generic_product_list.xhtml index d32e6cf2..e6f81fad 100644 --- a/web/admin/generic_product/admin_generic_product_list.xhtml +++ b/web/admin/generic_product/admin_generic_product_list.xhtml @@ -195,17 +195,19 @@ <p:outputLabel value="#{project.PRODUCT_GROSS_PRICE_HEADER}" title="#{project.PRODUCT_GROSS_PRICE_TITLE}" /> <h:outputText value="#{productListController.selectedProduct.productGrossPrice}"> - <f:convertNumber type="currency" currencyCode="#{productListController.selectedProduct.productCurrencyCode}" /> + <!-- @TODO Hard-coded EUR again --> + <f:convertNumber type="currency" currencyCode="EUR" /> </h:outputText> <p:outputLabel value="#{project.PRODUCT_NET_PRICE_HEADER}" title="#{project.PRODUCT_NET_PRICE_TITLE}" /> <h:outputText value="#{productListController.selectedProduct.productNetPrice}"> - <f:convertNumber type="currency" currencyCode="#{productListController.selectedProduct.productCurrencyCode}" /> + <!-- @TODO Hard-coded EUR again --> + <f:convertNumber type="currency" currencyCode="EUR" /> </h:outputText> <p:outputLabel value="#{project.PRODUCT_TAX_RATE_HEADER}" title="#{project.PRODUCT_TAX_RATE_TITLE}" /> <h:outputText value="#{productListController.selectedProduct.productTaxRate}"> - <!-- @TODO No real percentage number, 7 means 7%, not 700% --> + <!-- @TODO No real percentage number, 7.0 means 7.0%, not 700% --> <f:convertNumber type="number" /> </h:outputText> -- 2.39.5