]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/basket.xhtml
old method called
[pizzaservice-war.git] / web / basket.xhtml
index 92e49ab8ea07de1d4aaa57e2a998aa4e63e01b66..f90436fa27e296da1e1d6cb9301536e6c106145f 100644 (file)
@@ -1,10 +1,12 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<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:f="http://xmlns.jcp.org/jsf/core"
-         >
+<html
+       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
+       xmlns="http://www.w3.org/1999/xhtml"
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+       xmlns:h="http://xmlns.jcp.org/jsf/html"
+       xmlns:f="http://xmlns.jcp.org/jsf/core"
+       >
 
        <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
                <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_SHOW_BASKET}</ui:define>
                                </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>
@@ -54,7 +56,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>