this.getForm().getModelObject() returns the model of another form page

2009-09-21 Thread Charles Moulliard
I have created a form class which is used by a class extending webpage. When I call the following method in the onSubmit method of the form button I receive the model attached to another form page (= requestFormModel) and not (= requestMessageFormModel). Is there any restrictions/limitations

Re: this.getForm().getModelObject() returns the model of another form page

2009-09-21 Thread Johan Compagner
i dont see how that can happen if i look at your code. is RequestMessageForm .this != this.getForm() ?? do you nest forms? johan On Mon, Sep 21, 2009 at 11:38, Charles Moulliard cmoulli...@gmail.comwrote: I have created a form class which is used by a class extending webpage. When I call