The patch look good, but will force all current nested forms inside some modal window to override the Form#isRootForm to return true A possible way of avoid is to flag the mismatch in hierarchy. Join us in the dev mail list to discuss, there is even a thread already:
http://markmail.org/search/?q=wicket#query:wicket%20list%3Aorg.apache.wicket.dev%20date%3A201102%20from%3A%22Pedro%20Santos%22+page:1+mid:lrhm4gcg7cxoskgm+state:results On Mon, Mar 21, 2011 at 10:01 AM, Sven Meier <s...@meiers.net> wrote: > Hi Pedro, > > modal window renders its content into its own tag's body before moving it > into new tags on the top level. > In the proposed patch this intermediate step is skipped, thus keeping the > markup valid even in case of a form in the dialog's content. > > > Pedro Santos wrote: > > > > I don't remember of any change in this. > > > > The patch was not accepted for 1.5. > > Best regards > > Sven > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Ajax-modal-window-does-not-allow-submit-form-under-open-browsers-tp3390374p3393492.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Pedro Henrique Oliveira dos Santos