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.
AJAX and forms highlight some issues with HTML forms in general. Unless you have declared a brand new form for your modal popup, and are absolutely sure that you are submitting that new form, you will be submitting the original form that was on the base page. Keep in mind that to the browser,

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