pom.xml - Added dependencies for Apache Tiles
CreditCardImpl.java - Added one-to-one association to the User object.
Location.java - Changed the JoinColumn annotation to use USER_ID instead of LOCATIONPROVIDER_ID. Added coverPhotoId variable. Changed removeImage to return the Image object being removed from the collection.
LocationRequest.java - Changed the @JoinColumn value to USER_ID instead of LOCATIONSCOUT_ID.
ProviderSubmission.java - Changed the @JoinColumn value to USER_ID instead of LOCATIONPROVIDER_ID.
ScoutAlert.java - Changed the @JoinColumn value to USER_ID instead of LOCATIONSCOUT_ID.
FileUploadController.java - Changed to set which template view we are going to.
LocationProviderController.java - Added code for setting template for which view to go to for all of the methods that need it. Added methods for editing locations and deleting an entire location or just photos. Added error message code if logging in and the user is not found. Changed the redirect to the index page to a forward to preserve the message set in the model.
LocationProvider.java - Changed the table inheritence from Concrete to Hierarchial. This was done so that providers and scouts could be located in the same table instead of having separate ones for each type of User.
LocationScout.java - Changed the table inheritence from Concrete to Hierarchial. This was done so that providers and scouts could be located in the same table instead of having separate ones for each type of User.
User.java - Changed the table inheritence from Concrete to Hierarchial. This was done so that providers and scouts could be located in the same table instead of having separate ones for each type of User.
LocationScoutController.java - Added error message code if logging in and the user is not found. Changed the redirect to the index page to a forward to preserve the message set in the model.
UserType.java - Added ADMIN and USER as UserTypes. USER is not currently being used, but could be used for a default type. Added innner class so that this enum could be used with the DiscriminatorType.STRING annotation.
LocationProviderService.java - Added methods for handling of setting the CoverPicture and for deleting images.
LocationProviderServiceImpl.java - Added methods for handling of setting the CoverPicture and for deleting images. Changed the deleteImageFile method to delete the entire directory based on the flag passed in.
springConfig.xml - Add mvc:resource tag for the Tiles layouts and changed the resource for css files from image to css folder.
tiles-defs.xml - New configuration file for Apache Tiles.
web.xml - Changed the name of the filter entry from httpMethodFilter to httpHiddenMethodFilter for clarity. Changed the url mapping for that filter to /* from /. Added session timeout of 30 minutes.
addLocation.jsp - Added new heading Add a New Location
addPhoto.jsp - Changed the width and height of the images to be displayed to 330 and 250 respectively.
lmStyle.css - Added class for bold text.
deleteLocations.jsp - Commented out the links for navigating. Now being done by tile layout template.
editLocation.jsp - - Commented out the links for navigating. Now being done by tile layout template. Added functionality for the Add Photo and Delete Photo buttons.
editLocationListings.jsp - Commented out the links for navigating. Now being done by tile layout template.
editLocationProvider.jsp - New page for editing the Location Provider's information.
deletePhotos.jsp - New page that allows the user to select the photos that they would like to have deleted.
index.jsp - Added error message handling.
baseProviderLayout.jsp - Base template for the Location Provider portion of the website.
locationProviderHeader.jsp - To be used for a header for the base provider template.
locationProviderFooter.jsp - To be used for a footer for the base provider template.
locationProviderHomePage.jsp - The home page that takes the Tile's template information and displays the constant menu on the left side and the body of the current jsp page we are on based on the link clicked from the menu.
provider.jsp - Made this just an informational page by removing the Edit Location Provider button and the Add Location button.
providerNavigation.jsp - Changed the link for editing a location to go to the controller first. Did the same for editing a Location Provider. Added request for the controller to return to the Main page.
viewSubmissionsList.jsp - - Commented out the links for navigating. Now being done by tile layout template.