]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - web/index.xhtml
Added missing init() method + renamed localInit() -> genericInit()
[pizzaservice-war.git] / web / index.xhtml
index 08cf9c6338421137c4be46bc7cdd2f44d415a975..74acebc078e20b1208a5272fe0f0cc263d9d30f0 100644 (file)
@@ -1,5 +1,3 @@
-<?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"
@@ -12,7 +10,7 @@
        xmlns:basket="http://mxchange.org/jshop/tags/basket"
        //-->
 
-       <ui:composition template="/WEB-INF/templates/base.tpl">
+       <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
                <ui:define name="title">Willkommen!</ui:define>
 
                <ui:define name="menu">
@@ -26,8 +24,6 @@
                <ui:define name="content">
                        <!--
                        TODO Not used!
-                       <basket:mini_basket basket="#{basket}" />
-
                        <h:panelGrid class="basket_item_table" columnClasses="table_data_column" headerClass="table_header_column">
                                <f:facet name="header">
                                        Bestellen? Bestellmenge: Produkt: Einzelpreis:
                                                                        </td>
 
                                                                        <td class="table_data_column">
-                                                                               <h:inputText class="input" id="amount" size="3" maxlength="20" />
+                                                                               <h:inputText class="input" id="amount" size="3" maxlength="20">
+                                                                                       <!--
+                                                                                       If the customer wants to order more, he need to call in.
+                                                                                       //-->
+                                                                                       <f:validateLongRange minimum="1" maximum="10" />
+                                                                               </h:inputText>
                                                                        </td>
 
                                                                        <td class="table_data_column">