Allright, I see that the current coding is not satisfying...
I have several questions and would love to get some feedback:
1. form processing order:
this is the order of form processing in 1.4.x (outer to inner form):
// call onSubmit on nested forms
formToProcess.visitChildren(Form.class, new IVisitor<Form<?>>()
public Object component(Form<?> component)
Form<?> form = component;
if (form.isEnabledInHierarchy() && form.isVisibleInHierarchy())
so do we really want to change that in 1.5 (inner to outer form) ?
2. in Martijn's case (= quickstart) the form visibility is changed during form submit processing. Therefore the submitting component's onSubmit is called but Form#onSubmit not since the submitting component hides the modal windows which implicitly hides the contained form. Do we want that form visibility (and enabled) state changes during submit processing affect subsequent processing?
3. is staying as close to 1.4.x processing as possible to make migration seamless an issue?