changing isn't really that much work.  it's a two line change.  and you have
to go through and replace each "new AjaxLink" with "new AjaxFallbackLink"
anyway.  It's a simple search and replace.

--
Jeremy Thomerson
http://www.wickettraining.com



On Wed, Apr 7, 2010 at 5:48 AM, fachhoch <fachh...@gmail.com> wrote:

>
> I add to target at several places, lot of them , now changing all of these
> will certainly take time looking at each callback method .  Need
> suggestions
> if aop can help me  , or can I override some  method  in wicket which
> provides the AJaxRequestTarget even when   java script is not enabled.
> changing is lot of work is there any other way ?
>
>
> Gerolf Seitz wrote:
> >
> > before adding a component to the ajaxrequesttarget, simply check that the
> > target
> > is not null (aka the request is an ajax request). otherwise you don't
> need
> > to add the
> > components to the ajaxrequesttarget anyway.
> >
> >   gerolf
> >
> > On Wed, Apr 7, 2010 at 12:20 AM, tubin gen <fachh...@gmail.com> wrote:
> >
> >> I am  using  AjaxLink all my application and we add to AjaxRequestTarget
> >> for
> >>  repainting components , now we want to change it to use AjaxFallback ,
> >> but
> >> in ajaxfallback AjaxRequestTarget is null and I get null pointer
> >> exception.Please tell me if there is any way I can move from  AjaxLink
> to
> >> AjaxFallBack link  without breaking ?
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/ajaxfallback-tp28158339p28163291.html
> Sent from the Wicket - User 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
>
>

Reply via email to