example of opening ModalWindow with submit button ?

2009-01-16 Thread Phillip Rhodes
I would like to open a modelwindow, but not with a link since I do not want any form data to be lost. Does anyone have an example or pointer? I did manage to open a modalwindow using an ajaxsubmit button, but the content of my dialog gets written to my page and the dialog is empty! Thanks!

Re: example of opening ModalWindow with submit button?

2009-01-16 Thread Jeremy Thomerson
I think you'll need to use the ajax submit, or else dig into the wicket JS to see if there's another way. But - ajax submit should be fine - you won't lose any form data - it will be submitted. What was the problem with using it? (caveat: unless you have a file upload - which doesn't work in