How to disable inner form validation with Wicket in following case?
Outer form has some fields with validators, including a TextField. When user has the TextField focused and presses Enter, the outer form should submit.
Inner form has also some fields with validators and submit buttons.
Pressing Enter in outer form TextField tries to submit the form but also runs validatators in the inner form and I'd like to prevent that.
Is there any other way than to use setDefaultFormProcessing(false) in the inner form and rewrite validation logic inside onSubmit method?