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!



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 ajax submits).


-- 
Jeremy Thomerson
http://www.wickettraining.com

On Fri, Jan 16, 2009 at 3:30 PM, Phillip Rhodes
spamsu...@rhoderunner.comwrote:

 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!



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org