you have to clear the model of the form(components).
so either set a new (empty) model object for the form (in combination
with a compoundpropertymodel) or you have to reset the models of
the formcomponents somehow one by one...
Gerolf
On Fri, Apr 18, 2008 at 8:53 AM, Mathias P.W Nilsson
As you should reset the form's model object anyway, you could pass the form
to the AjaxRequestTarget
e.g.
onSubmit(AjaxRequestTarget t) {
Object o = getModelObject();
businessLayer.process(o.clone());
o.setFoo(null);
o.setBar(null);
if (t != null) {