]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/index.xhtml
updated jar(s)
[pizzaservice-war.git] / web / index.xhtml
index 75dc3886658dd1215edf3b7af7bd17efc8ad371b..d769335f48debb3773660b9709d05be5e110ff34 100644 (file)
@@ -3,7 +3,6 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://xmlns.jcp.org/jsf/html"
-         xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
          xmlns:f="http://xmlns.jcp.org/jsf/core"
          >
 
@@ -26,7 +25,7 @@
                                </div>
                        </div>
 
-                       <h:dataTable id="table_show_available_products" var="product" value="#{controller.availableProducts}" styleClass="table" summary="#{msg.TABLE_SUMMARY_INDEX_PRODUCTS}">
+                       <h:dataTable id="table_show_available_products" var="product" value="#{productController.availableProducts}" styleClass="table" summary="#{msg.TABLE_SUMMARY_INDEX_PRODUCTS}">
                                <h:column>
                                        <div id="main_item_container">
                                                <div class="item_title">
@@ -51,7 +50,7 @@
 
                                                                        <ui:fragment rendered="#{basketController.isProductAdded(product)}">
                                                                                <div class="item_amount">
-                                                                                       Anzahl:
+                                                                                       #{msg.ITEM_ORDER_AMOUNT}
                                                                                        #{basketController.getItemAmount(product)}
                                                                                </div>
 
@@ -66,8 +65,8 @@
 
                                                        <div class="table_right">
                                                                <div class="item_price">
-                                                                       #{msg.SINGLE_ITEM_PRICE}
-                                                                       <h:outputText class="price" value="#{product.price}">
+                                                                       #{msg.SINGLE_PRODUCT_PRICE}
+                                                                       <h:outputText class="price" value="#{product.productPrice}">
                                                                                <f:convertNumber type="currency" minFractionDigits="2" maxFractionDigits="2" locale="de_DE" />
                                                                        </h:outputText>
                                                                </div>