The modal window's content is rendered into a set of new elements into the
page body directly, this set include a form tag. If you add a root form
inside the modal window content, the HTML for the opened window will be
invalid because of nested form tags. I don't remember of any change in this.

On Mon, Mar 21, 2011 at 8:15 AM, Sven Meier <s...@meiers.net> wrote:

> Yes, the extra form in modal window is no longer needed.
>
> This works because a modal window's content is 'just' rendered into a new
> element in the page body directly.
>
> Sven
>
>
> Brown, Berlin [GCG-PFS] wrote:
> >
> > OK, so the patch just scraps the form in the modal window.
> >
> > -----Original Message-----
> > From: Chris Colman [mailto:chr...@stepaheadsoftware.com]
> > Sent: Sunday, March 20, 2011 8:36 AM
> > To: users@wicket.apache.org
> > Subject: RE: Ajax modal window does not allow submit form under open
> > browsers
> >
> > &gt;.. and please vote for WICKET-3404 if you think the need for this
> > &gt;additional form is just annoying.
> >
> > +1 from me!
> >
> > I find having to wrap a modal in a form quite annoying.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Ajax-modal-window-does-not-allow-submit-form-under-open-browsers-tp3390374p3393166.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

Reply via email to