RE: Ajax modal window does not allow submit form under open browsers

2011-03-21 Thread Sven Meier
- 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

Re: Ajax modal window does not allow submit form under open browsers

2011-03-21 Thread Pedro Santos
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

Re: Ajax modal window does not allow submit form under open browsers

2011-03-21 Thread Sven Meier
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

Re: Ajax modal window does not allow submit form under open browsers

2011-03-21 Thread Pedro Santos
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:

Re: Ajax modal window does not allow submit form under open browsers

2011-03-20 Thread Sven Meier
.. and please vote for WICKET-3404 if you think the need for this additional form is just annoying. Sven On 03/20/2011 01:01 AM, Pedro Santos wrote: To submit a form inside a modal window you must enclose it by a form in the main panel and use an AJAX submit component. Please open a ticket +

RE: Ajax modal window does not allow submit form under open browsers

2011-03-20 Thread Chris Colman
.. and please vote for WICKET-3404 if you think the need for this additional form is just annoying. +1 from me! I find having to wrap a modal in a form quite annoying. - To unsubscribe, e-mail:

RE: Ajax modal window does not allow submit form under open browsers

2011-03-20 Thread Brown, Berlin [GCG-PFS]
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

Re: Ajax modal window does not allow submit form under open browsers

2011-03-19 Thread Pedro Santos
To submit a form inside a modal window you must enclose it by a form in the main panel and use an AJAX submit component. Please open a ticket + quickstart if the issue remains. On Sat, Mar 19, 2011 at 7:45 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: When I use the ajax modal

RE: Ajax modal window does not allow submit form under open browsers

2011-03-19 Thread Brown, Berlin [GCG-PFS]
Subject: Re: Ajax modal window does not allow submit form under open browsers To submit a form inside a modal window you must enclose it by a form in the main panel and use an AJAX submit component. Please open a ticket + quickstart if the issue remains. On Sat, Mar 19, 2011 at 7:45 PM, Brown, Berlin

Re: Ajax modal window does not allow submit form under open browsers

2011-03-19 Thread Pedro Santos
for illegal HTML -Original Message- From: Pedro Santos [mailto:pedros...@gmail.com] Sent: Saturday, March 19, 2011 8:02 PM To: users@wicket.apache.org Subject: Re: Ajax modal window does not allow submit form under open browsers To submit a form inside a modal window you must enclose