Recent = "one". It would be security issue only if event API has some holes :) Anyway it would be quite handy to send for example some info events to all logged users.
Best regards, Michal Wegrzyn > -----Original Message----- > From: Martin Grigorov [mailto:[email protected]] > Sent: Thursday, November 29, 2012 15:16 > To: [email protected] > Subject: Re: events between pages > > On Thu, Nov 29, 2012 at 3:11 PM, Michal Wegrzyn > <[email protected]>wrote: > > > Thanks Martin. > > > > What is the pageId parameter in getPageManager().getPage(pageId)? > > Component id or page version id (present in url)? > > > > The id from the url. > See Page#getPageReference() > > > > > > > > For session I would expect all most recent versions of visited pages > > for a current user. > > > > Define "recent" :-) > One, two, ... more ? > > > > For application the same but for all users. > > > > If a random user can manipulate the pages of the other users would be a > security issue, and rude :-) > > > > > > > Best regards, > > Michal Wegrzyn > > > > > -----Original Message----- > > > From: Martin Grigorov [mailto:[email protected]] > > > Sent: Thursday, November 29, 2012 15:01 > > > To: [email protected] > > > Subject: Re: events between pages > > > > > > On Thu, Nov 29, 2012 at 2:56 PM, Michal Wegrzyn > > > <[email protected]>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/> > > > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com <http://jweekend.com/>
