How does Wicket load an object and combine it with a user's web input? (newbie question)

2008-05-16 Thread David Wicket
I just started learning Wicket. I have some experience with JSP+Spring. In Spring, based on a hidden id parameter from a form, I can use formBackingObject method to load the object. Spring combines a user's input in the form with the loaded object to form the latest version of this object and

Re: How does Wicket load an object and combine it with a user's web input? (newbie question)

2008-05-16 Thread Maurice Marrink
You do not need a hidden form parameter, wicket automatically resolves the form input with the component on the server side. On submit the model of the component is loaded and set with the new input. If you use a model such as LoadableDetachableModel, that knows how to get the latest object from