]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Product-only:
authorRoland Häder <roland@mxchange.org>
Fri, 30 Mar 2018 22:57:34 +0000 (00:57 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 30 Mar 2018 22:57:34 +0000 (00:57 +0200)
- <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

Signed-off-by: Roland Häder <roland@mxchange.org>
web/admin/generic_product/admin_generic_product_list.xhtml

index d32e6cf293554e3264e58e4eef89eb9b7ce83bdc..e6f81fadaee67e14aafc8c30c94c87c5830e435d 100644 (file)
 
                                                <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>