svenmeier wrote:
> 
> Short answer:
> You have to enclose your modal window in a form component, see modal 
> window javadoc.
> 

Hmm what exactly does that mean? I tried changing my modalWindow from:

<div wicket:id="window"></div> 

to

<form><div wicket:id="window"></div></form> and 
<form wicket:id="window"></form> 

but neither of those work, the form fails on the first submit. What I get
confused about is how it could work the first time in firefox, but then get
rendered differently the second time. I tried to make my inner panel unaware
that its inside a modal window, so it has no referenceto a ModalWindow
(because on fallback i put the panel into a Page and redirect, and thought
that the panel shouldn't need to know about its parent). But could a
solution be to pass a modalwindow reference and close the panel after a form
submit, and reopen it? Its not great usability though, so I'm hoping i'm
just missing something.
-- 
View this message in context: 
http://www.nabble.com/Bug-with-firefox-when-submitting-an-ajax-form-inside-a-modal-window-tp25501735p25512670.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]

Reply via email to