AjaxRequestTarget.get() is the API for Wicket 1.5
In Wicket 6 ART is an interface and there is no way to have static method,
so getRequestCycle().find(IRequestHandler.class) is introduced. It can be
used for any impl of IRequestHandler, not just AjaxRequestTarget.


On Fri, Dec 7, 2012 at 9:27 AM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:

> Martin.
>
> Wouldn't  AjaxRequestTarget.get() work as well?
>
> On Fri, Dec 7, 2012 at 9:22 AM, Martin Grigorov <mgrigo...@apache.org
> >wrote:
>
> > Hi,
> >
> > Indeed there is no explicit method for this.
> > The only way I see is to
> > override
> >
> org.apache.wicket.extensions.ajax.markup.html.AjaxLazyLoadPanel#getLoadingComponent
> > and use getRequestCycle().find(AjaxRequestTarget.class) to get the target
> > and use it.
> >
> > Please file a ticket for improvement.
> >
> >
> > On Thu, Dec 6, 2012 at 9:29 PM, pkc <pkci...@gmail.com> wrote:
> >
> > > Hi Everyone,
> > >
> > > I need to update a feedback panel with some info after a lazy load
> panel
> > > finishes getting its data.  I was looking for a method like
> > "onPanelLoaded(
> > > AjaxRequestTarget target )" but didn't see anything so not sure how to
> > get
> > > my feedback panel refreshed.
> > >
> > > Thanks for any tips.
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadingPanel-finished-event-tp4654565.html
> > > Sent from the Users forum mailing list archive at Nabble.com.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > For additional commands, e-mail: users-h...@wicket.apache.org
> > >
> > >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com <http://jweekend.com/>
> >
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to