X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=web%2Findex.jsp;h=7d3dbe8154f0e9f45a6f9cdfe54a7f53975f4a9a;hb=ab440544f4bc8a165736a83502fced977e237403;hp=ffc06eb0183e5ce7c19386758fa1bd4b6fad1f87;hpb=2d00f8e1fc0d0044004dadd7807024bb86c9dbaf;p=pizzaservice-war.git diff --git a/web/index.jsp b/web/index.jsp index ffc06eb0..7d3dbe81 100644 --- a/web/index.jsp +++ b/web/index.jsp @@ -4,42 +4,59 @@ Author : Roland Haeder --%> -<%@page errorPage="errorHandler.jsp" %> -<%@page import="java.util.Map"%> -<%@page import="java.util.Iterator"%> -<%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%> -<%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%> -<%@page import="org.mxchange.pizzaapplication.product.Product"%> +<%--<%@page errorPage="errorHandler.jsp" %>--%> +<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaBean"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@taglib prefix="basket" uri="http://mxchange.org/jshop/tags/basket" %> + + + + <% - // Init application instance - PizzaApplication app = PizzaServiceApplication.getInstance(application); + // TODO: Can be removed later + controller.init(); %> + + + - - <%=PizzaServiceApplication.MAIN_TITLE%> - Eingangsseite + + Pizza-Service - Willkommen -
-

<%=PizzaServiceApplication.MAIN_TITLE%> - Eingangsseite

+ - +
-

Folgendes kann bestellt werden:

+

Eingangsseite (dummy):

-
+ + - + + + + + + + - - - - <% - // "Walk" through all products and unmark them as ordered - for (final Product product : app.getUnmarkedProducts(session)) { - %> - - - - - - - <% - } - %> - - - -
+ Folgendes kann bestellt werden: +
Bestellen? @@ -54,41 +71,61 @@ Einzelpreis:
- /> - - - - <%=product.getTitle()%> - - <%=product.getPrice()%> -
- + + + + + + + + + + + + + + +
+ Warenkorb + + ${item.amount} + + ${product.title} + + +
+
+ +
+ + + + + + + + + +
+ + + + + + + ${product.title} + + +
+
+
+
+
+ +