]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/WEB-INF/templates/basket/full_basket.tpl
Renamed variable as nothing is shortened (please cherry-pick this)
[pizzaservice-war.git] / web / WEB-INF / templates / basket / full_basket.tpl
index 81ff93167e26da8d1a0295372e775dad439b65c5..bb8ab3b8d9feae4535ee07264cf83f65c24149be 100644 (file)
@@ -3,9 +3,9 @@
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
-       xmlns:ui="http://java.sun.com/jsf/facelets">
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
 
-       <h:dataTable var="item" value="#{basketController.allItems()}" headerClass="table_header_column" class="table" rendered="#{basketController.hasItems()}">
+       <h:dataTable id="table_show_full_basket" var="item" value="#{basketController.allItems()}" styleClass="table" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_FULL_BASKET}" rendered="#{basketController.hasItems()}">
                <h:column>
                        <f:facet name="header">#{msg.GUEST_ITEM_TITLE}</f:facet>
 
                </h:column>
 
                <h:column>
-                       <f:facet name="header">#{msg.SINGLE_ITEM_PRICE}</f:facet>
+                       <f:facet name="header">#{msg.SINGLE_PRODUCT_PRICE}</f:facet>
 
                        <div class="item_price">
                                <ui:fragment rendered="#{item.isProductType()}">
-                                       <h:outputText class="price" value="#{item.itemProduct.productPrice}">
+                                       <h:outputText styleClass="price" value="#{item.itemProduct.productPrice}">
                                                <f:convertNumber type="currency" minFractionDigits="2" maxFractionDigits="2" locale="de_DE" />
                                        </h:outputText>
                                </ui:fragment>
@@ -29,7 +29,7 @@
                <h:column>
                        <f:facet name="header">#{msg.CHANGE_ITEM_AMOUNT}</f:facet>
 
-                       <h:form acceptcharset="utf-8" id="add_item">
+                       <h:form id="add_item">
                                <h:outputText id="amount" value="#{item.orderedAmount}">
                                </h:outputText>
                        </h:form>
@@ -39,7 +39,7 @@
                        <f:facet name="header">#{msg.TOTAL_ITEM_PRICE}</f:facet>
 
                        <div class="item_total_price">
-                               <h:outputText class="price" id="item_price" value="#{basketController.calculateItemPrice(item)}" rendered="#{item.isProductType()}">
+                               <h:outputText styleClass="price" id="item_price" value="#{basketController.calculateItemPrice(item)}" rendered="#{item.isProductType()}">
                                        <f:convertNumber type="currency" minFractionDigits="2" maxFractionDigits="2" locale="de_DE" />
                                </h:outputText>
                        </div>