Re: Strange behavior withe Modal Window

2008-09-22 Thread Eyal Golan
I thought taking out all state from the modal window to the page it is holding. It is very strange: When the user presses OK in a form that in the page, i construct a new instance (of WebPage). When the close callback is initiated, the instance that was created is null. Any thoughts? I am on this

Re: Strange behavior withe Modal Window

2008-09-22 Thread Daan van Etten
Hi, You can try using abstract methods. I have made an example with demo project here: http://stuq.nl/weblog/2008-06-05/wicket-how-to-write-a-reusable-modal-window-popup Regards, Daan On 22 sep 2008, at 10:41, Eyal Golan wrote: I thought taking out all state from the modal window to the

Re: Strange behavior withe Modal Window

2008-09-22 Thread Eyal Golan
Thanks, I did something similar but with Page and not panel. The problem was keeping state in the page that was created in the PageCreator. I will soon post here (or in a blog) my solution. Eyal On Mon, Sep 22, 2008 at 12:03 PM, Daan van Etten [EMAIL PROTECTED] wrote: Hi, You can try using

Strange behavior withe Modal Window

2008-09-21 Thread Eyal Golan
Hello, I have a problem with class members in a Modal Window. Here's my general structure of things: -- AbstractParametersModalWindow -- GeneralLinkParametersModalWindow --

Re: Strange behavior withe Modal Window

2008-09-21 Thread Eyal Golan
I will try to give more info of the problem. Here's a concrete class of my modal window: public final class GeneralLinkParametersModalWindow extends AbstractParametersModalWindow { private static final long serialVersionUID = -2817303037867728250L; private WebPage originatePage;