]> git.mxchange.org Git - pizzaservice-war.git/blob - web/form_handler/add_item.jsp
Fixed some issues from last renaming season.
[pizzaservice-war.git] / web / form_handler / add_item.jsp
1 <%-- 
2         Document   : add_item
3         Ceated on : Aug 17, 2015, 7:03:38 PM
4         Author     : Roland Haeder
5 --%>
6
7 <%--<%@page errorPage="errorHandler.jsp" %>--%>
8 <%@page contentType="text/html" pageEncoding="UTF-8"%>
9 <%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaBean"%>
10 <%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean"%>
11 <%@page import="org.mxchange.jshopejb.item.AddableBasketItem"%>
12
13 <jsp:useBean id="controller" scope="session" class="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean" type="PizzaBean" />
14
15 <jsp:setProperty name="controller" property="application" value="${pageContext.servletContext}" />
16 <jsp:setProperty name="controller" property="basket" value="${basket}" />
17
18 <%
19         // TODO: Can be removed later
20         controller.init();
21 %>
22
23 <jsp:useBean id="item" scope="request" class="org.mxchange.jshopejb.item.basket.BasketItem" type="AddableBasketItem" />
24 <jsp:setProperty name="item" property="*" />
25
26 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
27 <c:set var="basePath" value="${pageContext.request.contextPath}" />
28
29 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
30 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
31         <head>
32                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
33                 <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
34                 <title>Pizza-Service - Form-Handler</title>
35         </head>
36
37         <body>
38                 <div id="title">
39                         <h1>Pizza-Service - Form-Handler</h1>
40                 </div>
41
42                 <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
43
44                 <jsp:include page="/static/error/direct_call.jsp" flush="false" />
45
46                 <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
47         </body>
48 </html>