You have to use AjaxSubmitButton if you put panel into modal window.
-Matej
On Tue, Mar 18, 2008 at 12:16 PM, Kai Mütz [EMAIL PROTECTED] wrote:
Serzhas wrote:
Hi. I am complete newby to Wicket, and currently making my way through the
forest if Wicket API :) br/
Today I tryed to
Thanks Matej, but I have tryied many submit variants, AjaxSubmitButton was
one of them.
No matter what kind of submit I use, if form was submitted once, dialog
won't close...
Matej Knopp-2 wrote:
You have to use AjaxSubmitButton if you put panel into modal window.
-Matej
On Tue, Mar
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
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
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,
On the site that holds the ModalWindow I have something like that:
modalWindow.setContent(new modalWindowPanel(modalWindow.getContentId(), new
ModalWindow.CloseButtonCallback(){
private static final long serialVersionUID = 4622180781771170962L;
public boolean