If you are using an AjaxFallbackButton then you need to check for NPE

On Mon, Oct 18, 2010 at 6:05 PM, meduolis <meduol...@gmail.com> wrote:

>
> Hi, do we need to check if target is null? Is it possible to get null
> pointer
> exception here?
>
> Example
>
> onSubmit(AjaxRequestTarget target, Form<?> form) {
>        //  is it possible to get null target here?
> }
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Ajax-component-s-constructor-target-parameter-tp3000995p3000995.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
>
>


-- 
Pedro Henrique Oliveira dos Santos

Reply via email to