Hi Martin,

For your workaround event is propagated and it works fine, but there are 
problems with AjaxRequestTarget, precisely with target.add( componentToRefresh 
).
Components that are outside of an iframe are not refreshed (target works on 
iframe context and they are not found).

What would be in this situation best solution?

Best regards,
MichaƂ


> -----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