]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/basket.xhtml
no JSTL in JSF!
[pizzaservice-war.git] / web / basket.xhtml
index 18ff0d87256a73b24ffc746af1b12b200da18701..f90436fa27e296da1e1d6cb9301536e6c106145f 100644 (file)
@@ -3,7 +3,7 @@
 <html
        lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
        xmlns="http://www.w3.org/1999/xhtml"
-       xmlns:ui="http://java.sun.com/jsf/facelets"
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
        xmlns:h="http://xmlns.jcp.org/jsf/html"
        xmlns:f="http://xmlns.jcp.org/jsf/core"
        >
@@ -30,7 +30,7 @@
 
                                        <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>
@@ -56,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>