Modal Popups and Forms

2009-12-29 Thread Corbin, James
Hi, I have a modal popup (implemented using YUI 2.8). The modal popup contains a form and the popup's markup is rendered (via YUI js) explicitly to document.body. The reasoning for rendering the YUI javascript to document.body is to address some issue we had with css inheritance that was

Re: Modal Popups and Forms

2009-12-29 Thread Martin Makundi
I am not sure..but with normal wicket modal popup you must have: form wicket:id=parent-form ... div wicket:id=modal-popup form .../ /div ... /form So with regular modal popups if parent form is not there, it will not work. Don't know if this is related because I am not

Re: Modal Popups and Forms

2009-12-29 Thread Igor Vaynberg
how can there be a parent form if the markup is rendered into a div that is a child of the body. the problem is you are creating a mismatch between wicket component hierarchy and the browser's dom. the wicket serverside thinks that it will be getting a multipart form, while the wicket clientside

RE: Modal Popups and Forms

2009-12-29 Thread Loritsch, Berin C.
, then your browser is defaulting to sending the outermost form. Use Firebug to inspect the DOM. -Original Message- From: Corbin, James [mailto:jcor...@iqnavigator.com] Sent: Tuesday, December 29, 2009 1:43 PM To: users@wicket.apache.org Subject: Modal Popups and Forms Hi, I have

RE: Modal Popups and Forms

2009-12-29 Thread Corbin, James
by using YUI as the popup implementation. J.D. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Tuesday, December 29, 2009 11:56 AM To: users@wicket.apache.org Subject: Re: Modal Popups and Forms how can there be a parent form if the markup is rendered into a div