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

Reply via email to