Many thanks!
I solved my original issue using AjaxWizardButtonBar which I was not aware
of as I was using an older version of Wicket.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Model-data-lost-when-calling-target-add-before-onSubmit-tp4666385p4666458.html
Sent
Hi,
The browser doesn't send any data for form elements which are not visible.
When clicking the AjaxLink you make panel1 invisible (display:none). The
following form submit submits only the visible form elements, thus empty
value is set to the checkbox's model.
Martin Grigorov
Wicket Training
Hi,
I have two panels added to a form. The idea is to create a step 1, step 2 type
functionality where after clicking next on panel 1, it hides and shows Panel 2.
I have a checkbox on Panel 1
add(new CheckBox(single, new
PropertyModel(SelectionPanel.this, single)));
and I have