Re: How to open a popup in onSubmit() of a Form

2007-12-21 Thread thomas jaeckle
Thomas Kappler-2 wrote: > > Do you know about > org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow? It > seems to do almost what you want, or at least you can look at the > source. > > Cheers, > Thomas > Thanks for the tip. But at this place I don't want a ModalWindow, a want a

Re: How to open a popup in onSubmit() of a Form

2007-12-21 Thread Thomas Kappler
Do you know about org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow? It seems to do almost what you want, or at least you can look at the source. Cheers, Thomas On Dec 21, 2007 9:56 AM, thomas jaeckle <[EMAIL PROTECTED]> wrote: > > Hi again. > I found a solution, but it isn't very

Re: How to open a popup in onSubmit() of a Form

2007-12-21 Thread thomas jaeckle
Hi again. I found a solution, but it isn't very nice: First I implemented a AjaxForm like the AjaxButton is implemented (why isn't there a AjaxForm delivered with Wicket?): public abstract class AjaxForm extends Form { public AjaxForm(String id) { super(id); add(new AjaxFormSu

How to open a popup in onSubmit() of a Form

2007-12-20 Thread thomas jaeckle
Hello. I am trying to open a popup in onSubmit() of a form. The form is simple: it has a TextField and a Button. When it is submitted the value from the TextField shall become a PageParameter for the popup and it shall be used in PageMap.forName(...) as identifier (so for equal values the create