To bind to fields to Map entries use path="mapName[keyName]" in your bind tag.
See also:
Spring bind tag.
JSP 2.0 specification, section 2.2
Type: Posts; User: michaeldiamond; Keyword(s):
To bind to fields to Map entries use path="mapName[keyName]" in your bind tag.
See also:
Spring bind tag.
JSP 2.0 specification, section 2.2
If you're using SimpleFormControllers, try calling showForm to create your ModelAndView to return instead. showForm will repopulate the session with the command object.
You should choose a framework based on what fulfills your own requirements, not which is the most popular.
While I haven't worked with WebWork, from what I've read about it, I prefer Spring. YMMV....
I think what you're asking for is the ability to register different editors for different fields of your command object. The second parameter of registerCustomEditor specifies the field to bind to.
...
I'm also curious to know what the proper use of isFormChangeRequest() is. I would like to use this to make changes to my form, but isFormChangeRequest() accepts only the request object and returns...
If you want to return your command object to your form using a SimpleFormController, set sessionForm(true) for your controller then return showForm(request, errors, view) from your onSubmit method...
What are you doing with the command object in showForm? If you need to initialize your command object, that is done in formBackingObject(). If you need access to the command object after submission,...
I have a collection of jsps that I would like to use Spring backed forms with. I would like to be able to access them by via the URL to the jsp rather than the controller entry point (ie login.do). ...