]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/index.xhtml
Renamed controller method to doChangeItem() (naming convention)
[pizzaservice-war.git] / web / index.xhtml
index d42ac71d26afb3134abe102c7576dae196e0213c..0ece4d80411345fd1ae2dc1b3a61531ebd31e610 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"
          >
 
@@ -13,7 +12,7 @@
        //-->
 
        <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
-               <ui:define name="title">#{msg.PAGE_TITLE_INDEX_WELCOME}</ui:define>
+               <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_WELCOME}</ui:define>
 
                <ui:define name="content_header">
                        #{msg.CONTENT_TITLE_INDEX_WELCOME}
@@ -38,7 +37,7 @@
                                                                <div class="item_actions">
                                                                        <ui:fragment rendered="#{!basketController.isProductAdded(product)}">
                                                                                <h:form id="add_item">
-                                                                                       <h:commandButton class="submit" id="add" value="#{msg.ADMIN_ADD_ITEM_TO_BASKET}" action="#{basketController.addItem(product)}" title="#{msg.BUTTON_TITLE_ADD_ITEM_TO_BASKET}" />
+                                                                                       <h:commandButton class="submit" id="add" value="#{msg.USER_ADD_ITEM_TO_BASKET}" action="#{basketController.addItem(product)}" title="#{msg.BUTTON_TITLE_ADD_ITEM_TO_BASKET}" />
 
                                                                                        <h:inputText class="input" id="amount" size="3" maxlength="20" value="#{basketController.orderedAmount}" title="#{msg.INPUT_TITLE_ENTER_ITEM_AMOUNT}">
                                                                                                <!--