Hi all,
I have an inner form, and I would like this inner form to not being
processed when the parent form is submitted, like described here:
https://cwiki.apache.org/WICKET/conditional-validation.html
The problem, in my case, is that this inner-form is posted with
'wicketSubmitFormById', so do I not have any "submitting button" and
#findSubmittingButton naturally returns null.
But as I am processing the form using an IFormSubmitter, I would like to
write something that could looks like this (in my inner form):
public boolean processChildren()
{
IFormSubmitter submitter = this.getFormSubmitter(); //!\\
return submitter != null && submitter.getForm() == this;
}
But I do not have any equivalent for #getFormSubmitter()...
Any ideas?
Thanks in advance,
Sebastien.