<div id="left"> is basicly lifted from the item list page, and isnt part of the form, I dont think it should be part of the form either.
So what am I doing wrong? I think it is because I am creating a model, that overwrites the model created by Object formBackingObject(HttpServletRequest request), but I cant see another mothed that would allow me to do what I wish, which is to add an object to the model without destorying the formbacking part of teh controller.
Is there a good/recommanded/"bible" book on creating Spring MVC applications?
First and foremost please make sure that you don't have a typo within your jsp:
Nevertheless if your __itemModel__ is kind of a __Map__, the code above should definitely work. This because you�re using JSTL, which in turn implements and supports the EL (expression language). Another elegant solution that you could use as well is to override the __referenceData__ method. This will return a map of beans (name-value pairs), which will be bounded to your page within the page context.
Thanks for the reply. ah sorry about that, I was "cleaning" the code, describing the problem in generic terms rather then in terms of my application.
Thanks for the advice too, it works like a charm What is annoying me is, i tried
While waiting for a reply, and couldnt get it to work. just get some error which seemed the data i was trying to put in the model wasnt being put in the model. most annoying, perhaps it was down to operas cache, which is a pain when it comes to CSS.