Thanks Martin.

What is the pageId parameter in getPageManager().getPage(pageId)?
Component id or page version id (present in url)?


For session I would expect all most recent versions of visited pages for a 
current user.
For application the same but for all users.

Best regards,
Michal Wegrzyn

> -----Original Message-----
> From: Martin Grigorov [mailto:mgrigo...@apache.org]
> Sent: Thursday, November 29, 2012 15:01
> To: users@wicket.apache.org
> Subject: Re: events between pages
> 
> On Thu, Nov 29, 2012 at 2:56 PM, Michal Wegrzyn
> <michal.wegr...@onior.com>wrote:
> 
> > Hi,
> >
> > I would like to send event from iframe to "parent" page which has
> > multiple iframes.
> >
> > Event framework makes it possible to use application or session as
> > sinks, but event affects only page from which event was sent.
> >
> > Why events which have session/application as sinks are not propagated
> > to all pages?
> >
> 
> Define "all pages".
> For application that could mean all pages for all users ever used so
> far.
> For session this means all pages in the history of this user (the data
> store).
> 
> 
> >
> > Is it possible to workaround it?
> >
> 
> You can get any page by its id:
> session.getPageManager().getPage(pageId)
> and use it as a sink.
> 
> 
> >
> > Best regards,
> > Michal Wegrzyn
> >
> 
> 
> 
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>

Reply via email to