RE: Passing info to the modal window

2011-09-04 Thread Chris Colman
I often pass the 'real' or 'domain' model object that a form is editing as a parameter to the form/modal constructor and then store a IModel wicket model wrapper object around that model object in the form/modal. >-Original Message- >From: Anna Simbirtsev [mailto:asimbirt...@gmail.com] >Se

Re: Passing info to the modal window

2011-09-02 Thread Igor Vaynberg
you cannot pass page instances between pages. if you need this kind of communication make ModalPage1 a panel instead of a page. -igor On Fri, Sep 2, 2011 at 8:07 AM, Anna Simbirtsev wrote: > Hi, I have a modal window defined like in the following example: > > > *public class *Modal *extends *We

Re: Passing info to the modal window

2011-09-02 Thread Martin Makundi
Why not pull your data from session instead, the hollywood way? Push is mostly not a good way to do it. ** Martin 2011/9/2 Anna Simbirtsev : > Hi, I have a modal window defined like in the following example: > > > *public class *Modal *extends *WebPage > { >  *public *Modal() >  { >  *final *Mod