> -----Original Message-----
> From: Martin Grigorov [mailto:mgrigo...@apache.org]
> Sent: Thursday, November 29, 2012 15:43
> To: users@wicket.apache.org
> Subject: Re: events between pages
> 
> You can do this.
> You can use either wicket-atmosphere or wicket-native-websocket to push
> data to the clients.
> 

But only with Wicket >=6.0.0.

Is it hard to affect also "all" "recent" (at least for current user) pages for 
events in Wicket?
That would be a nice feature.

> 
> On Thu, Nov 29, 2012 at 3:36 PM, Michal Wegrzyn
> <michal.wegr...@onior.com>wrote:
> 
> > 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:mgrigo...@apache.org]
> > > Sent: Thursday, November 29, 2012 15:16
> > > To: users@wicket.apache.org
> > > Subject: Re: events between pages
> > >
> > > On Thu, Nov 29, 2012 at 3:11 PM, Michal Wegrzyn
> > > <michal.wegr...@onior.com>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: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/>
> > > >
> > >
> > >
> > >
> > > --
> > > Martin Grigorov
> > > jWeekend
> > > Training, Consulting, Development
> > > http://jWeekend.com <http://jweekend.com/>
> >
> 
> 
> 
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>

Reply via email to