Hello,
Here is the code:
//MyModel is the model for the bean used in both Form1 and Form2
final Form2 inputForm = new Form2("inputForm");
inputForm.setOutputMarkupId(true);
add(inputForm);
MyModel model = new MyModel();
final Form1 listForm = new Form1("listForm", new
Hello,
I'm using wicket 6
I have a page with 2 forms: form1 and form2.
Form2 is an input form. After I provide input values for the Form2 and
submit, in Form1 a listView is populated with a row containing those values.
After each Form2 submit, Form2 is made invisible.
Now one field in a line
Seems like form2 is showing previous Raw input (which normally is cleared on
successful submit) or it is holding to the previous Model object.
Hard to tell without seeing the code.
Regards
Sven
Am 31. Juli 2016, 10:55, um 10:55, Iamuser schrieb:
>Hello,
>I'm using
Hi,
Form2 is always working on the same model object.
You have to swap its model object once you select one from the list in
form1 - either by setting it into form2's model or by passing a model
into form2's constructor, so that you can change the contained model
object without having to