I wrote about Pages in ModalWindow in my initial post :) This is the solution I currently using. But creation and popup of such ModalWindow is slower, than a Panel-based one. However, I also noticed, that with Page as content of ModalWindow dialog content is added to DOM only when it is opened, and removed when it's closed. With Panel-based ModalWindow markup stays in DOM all the time after first open (until page reloaded). Not sure, but this may be an undesired behavior in some cases.
Mr Mean wrote: > > We use forms in our modal windows without problems. > We do use Pages instead of panels and the form is submitted with an > AjaxSubmitLink. Also the form is a FilterForm found in > wicket-extensions but i don't think that should make a difference. > > Maybe this information is of some help to you. > > Maurice > > On Tue, Mar 18, 2008 at 1:07 PM, Kai Mütz <[EMAIL PROTECTED]> wrote: >> Matej Knopp schrieb: >> >> > You have to use AjaxSubmitButton if you put panel into modal window. >> > >> >> No difference. I have tried AjaxSubmitButton, AjaxButton and >> AjaxSubmitLink. Once I have submitted the form, the modal window stays >> open. Reload of the entire page necessary to close modal. >> >> Is there a working example of getting form input within a modal window? >> >> Thanks, Kai >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/ModalWindow-%28component-based%29-%2B-form-submit-%3D-can%27t-close-tp15831226p16120597.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]