Passing info to the modal window

2011-09-02 Thread Anna Simbirtsev
Hi, I have a modal window defined like in the following example: *public class *Modal *extends *WebPage { *public *Modal() { *final *ModalWindow modal1; add(modal1 = *new *ModalWindow("modal1")); modal1.setPageMapName("modal-1"); modal1.setCookieName("modal-1"); modal1.setPageCreato

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

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-04 Thread Chris Colman
ilto:asimbirt...@gmail.com] >Sent: Saturday, 3 September 2011 1:08 AM >To: users@wicket.apache.org >Subject: Passing info to the modal window > >Hi, I have a modal window defined like in the following example: > > >*public class *Modal *extends *WebPage >{ > *public *