Re: Skip validation on nested form's form level validators

2011-07-14 Thread Martin Grigorov
Christian, Can you try the patch in https://issues.apache.org/jira/browse/WICKET-3899 ? On Mon, Jul 11, 2011 at 10:02 PM, Christian Huber hub...@butterbrot.org wrote: Hi, well i _could_ decouple the two forms but that would kinda break my usecase and also the layout due to the changed

Re: Skip validation on nested form's form level validators

2011-07-11 Thread Andrea Del Bene
Hi, why don't simply put the inner form out of the outer one? Anyway, you could remove inner form's validators before the outer form is submitted and add them again when submit process is over (onFormSubmitted() ) Hi all, I have two forms nested within each other (wicket 1.4.17). The inner

Re: Skip validation on nested form's form level validators

2011-07-11 Thread Christian Huber
Hi, well i _could_ decouple the two forms but that would kinda break my usecase and also the layout due to the changed component hierarchy. Removing and readding the validators does not strike me as a good idea though, that would mean that the outer form would have knowledge about the

Skip validation on nested form's form level validators

2011-07-10 Thread Christian Huber
Hi all, I have two forms nested within each other (wicket 1.4.17). The inner form adds data to the model of the outer form via ajax when it's button is pressed while the outer form saves the data to the database when the outer form's submit button is pressed. Both forms have validators