I changed today the version.
I have:
This used to work. But now the <form:input> does not print the property value. If I use ${ma.property} it works, but I want to use spring tags.Code:@RequestMapping( "/detailAction.do" ) public ModelAndView detalleDelegacion(@ModelAttribute MyObject o) { ModelMap model = new ModelMap(); o = dao.detail( o.getId() ); model.addAttribute( "ma", o ); return new ModelAndView( "view", model ); } ----- <form:form action="action.do" modelAttribute="ma"> <form:input path="property" /> </form:form> ----- public Class MyObject { private String property; ... getter ... ... setter ... }
How should I do it?


Reply With Quote