From b7bddb4c8ec30d61357d3695d54894ae22133fda Mon Sep 17 00:00:00 2001 From: Adam R Claxton Date: Wed, 15 Mar 2017 11:28:13 -0400 Subject: [PATCH] New text fields for address. Ticket generation is very close to working; only the location part of the ticket is ignored. That's what the new text fields are for, and once I get them behaving as desired I'll be able to finish ticket generating. Changed link in navbar to direct to /2017-CSE-Senior-Project-Team-2/html/webpages/ instead of /2017-CSE-Senior-Project-Team-2/html/webpages/index.html. Apache will find the index.* file if it exists there, and I have been using index.jsp. --- WebContent/html/javascript/navbar.js | 2 +- WebContent/html/webpages/navbar.html | 2 +- WebContent/html/webpages/orderForm.html | 2 +- WebContent/html/webpages/orderFormHandler.jsp | 25 +++++- WebContent/html/webpages/requestPage.html | 8 +- WebContent/html/webpages/shoppingCart.jsp | 54 +++++++++--- src/database/MySQLAccess.java | 86 +++++++++++++++---- src/entities/ListedDevice.java | 50 +++++++++++ 8 files changed, 195 insertions(+), 34 deletions(-) create mode 100644 src/entities/ListedDevice.java diff --git a/WebContent/html/javascript/navbar.js b/WebContent/html/javascript/navbar.js index 6918d85..f604dd2 100644 --- a/WebContent/html/javascript/navbar.js +++ b/WebContent/html/javascript/navbar.js @@ -1 +1 @@ -document.getElementById('navbaruniversal').innerHTML = '
' +document.getElementById('navbaruniversal').innerHTML = '
' diff --git a/WebContent/html/webpages/navbar.html b/WebContent/html/webpages/navbar.html index ec86e01..78d93dd 100644 --- a/WebContent/html/webpages/navbar.html +++ b/WebContent/html/webpages/navbar.html @@ -12,7 +12,7 @@ diff --git a/WebContent/html/webpages/shoppingCart.jsp b/WebContent/html/webpages/shoppingCart.jsp index dc2838b..3200c63 100644 --- a/WebContent/html/webpages/shoppingCart.jsp +++ b/WebContent/html/webpages/shoppingCart.jsp @@ -58,18 +58,47 @@ pageEncoding="ISO-8859-1"%>

Please provide additional order information