]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
I have removed it from the wrong JSP, now it should be okay.
authorRoland Haeder <roland@mxchange.org>
Wed, 12 Aug 2015 17:53:18 +0000 (19:53 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 12 Aug 2015 17:53:37 +0000 (19:53 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/form_handler/admin/do_products.jsp
web/form_handler/do_order.jsp

index 00fb73b21bfcd189cb9043db98e52490d1b18965..219f08f128d4b6a6780afabf959cea2865e33ff3 100644 (file)
        if ("POST".equals(request.getMethod())) { //NOI18N
                // Handle saving customer data and such things
                
-               // "Walk" over all products
-               for (final Product product : app.getProducts()) {
-                       // Is it choosen?
-                       if (app.isProductChoosen(product, request, session)) {
-                               // Mark product as ordered
-                               app.markProductAsOrdered(product, session);
-                       }
-               }
 
                // Redirect to proper URL
                // @TODO Commented out for developing:
                //response.sendRedirect(request.getContextPath() + "/finished.jsp");
-%>
-<jsp:useBean id="customer" scope="session" class="org.mxchange.pizzaapplication.customer.bean.PizzaServiceCustomerBean" type="CustomerBean" />
-<jsp:setProperty name="customer" property="*" />
-<jsp:forward page="../finished.jsp" />
-<%
        }
 %>
 
index 95dfde9e7298f5cecdaae233fdf3ab86526bcca1..e283043a8cf9e25f875808a091d44df6a451c9f4 100644 (file)
                // Redirect to proper URL
                // @TODO Commented out for developing:
                //response.sendRedirect(request.getContextPath() + "/finished.jsp");
+%>
+<jsp:useBean id="customer" scope="session" class="org.mxchange.pizzaapplication.customer.bean.PizzaServiceCustomerBean" type="CustomerBean" />
+<jsp:setProperty name="customer" property="*" />
+<jsp:forward page="../finished.jsp" />
+<%
        }
 %>