{"push_id":891201546,"size":1,"distinct_size":1,"ref":"refs/heads/working-spring-shell","head":"17e34ae412a6dad31b0e3fdc7c59648fa6e92572","before":"ab2531267df42d72d569eaf070bd800de0ef70b9","commits":[{"sha":"17e34ae412a6dad31b0e3fdc7c59648fa6e92572","author":{"email":"f287cac8ed821b2a315bb62e328532f80f650ca5@gmail.com","name":"Jmadsen45"},"message":"working spring project with data bound the 'spring way' @Kogurr\n\n@Kogurr i used your Menu, MenuItem, and submenu items in order to bind a\nMenu object to our model.\n- I modified them slightly to fit with springs requirements but i think\nthat you will be able override your classes with my modified ones and\nthere will be no errors.\n- The only thing i changed is added some getters and setters for a few\nattributes and changed new ArrayList<>(3) to new ArrayList() on submenu\nand menuItems declaration because it wouldn't work in spring how you had\nit.\n\n-I built a sample page \"showMessage.jsp\" located in WEB-INF/views that\nshows how all the menu items can be accessed.\n\n- now all you have to do is direct the Menucontrollers bindMenu method\nto go to a page or another controller to create the pdf.\n- To go to another page or request parameter(for a controller) you must\nchange\nshowMessage to the other page or request parameter in:\n\nModelAndView model = new ModelAndView(\"showMessage\");\n\nmenu can be accessed by model.menu in a controller that takes (Model\nmodel) as a request parameter\n\n-  i can help with this process just let me know by email.\n\nThere is no implementation for editing an already created menu as of\nright now but we should just try to get this working how it is before i\nadd that functionality.\n\nI would use this maven shell that is already created because there is a\nlot of xml configurations that  will most likely become broken if files\nare just copied to a new shell.","distinct":true,"url":"https://api.github.com/repos/brignano/restaurant-menu-creator/commits/17e34ae412a6dad31b0e3fdc7c59648fa6e92572"}]}