]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/WEB-INF/templates/basket/total_sum.tpl
Please cherry-pick:
[pizzaservice-war.git] / web / WEB-INF / templates / basket / total_sum.tpl
index a105a3f983828a68c6b9860dbdd79bdf59c7441d..f460942179d13aa1a0423165425012b1f8247822 100644 (file)
@@ -2,19 +2,20 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <ui:composition
        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"
->
+       >
 
        <ui:fragment rendered="#{basketController.hasItems()}">
                <div class="totals_container">
-                       #{msg.TOTAL_ORDER_PRICE}
-                       <h:outputText class="price" id="total_sum" value="#{basketController.calculateTotalPrice()}">
+                       <h:outputText value="#{msg.TOTAL_ORDER_PRICE}" />
+
+                       <h:outputText styleClass="price" id="total_sum" value="#{basketController.calculateTotalPrice()}">
                                <f:convertNumber type="currency" minFractionDigits="2" maxFractionDigits="2" locale="de_DE" />
                        </h:outputText>
                </div>
        </ui:fragment>
 
-       <h:outputText class="empty_basket" value="#{msg.NO_ITEMS_ADDED_TO_BASKET}" rendered="#{basketController.isEmpty()}" />
+       <h:outputText styleClass="empty_basket" value="#{msg.NO_ITEMS_ADDED_TO_BASKET}" rendered="#{basketController.isEmpty()}" />
 </ui:composition>