You can override the getAjaxCallDecorator method from
AjaxFormComponentUpdatingBehavior and return an IAjaxCallDecorator that
append your custom javascript

On Wed, Jul 21, 2010 at 10:26 AM, Brown, Berlin [GCG-PFS] <
berlin.br...@primerica.com> wrote:

> With the onblur ajax calls, is it possible to add my own javascript .
>  final AjaxFormComponentUpdatingBehavior blurText = new
> AjaxFormComponentUpdatingBehavior("onblur") {
>   @Override
>         protected void onUpdate(AjaxRequestTarget target) {
>    checkPageNextLink(target);
>         }
>        };
>
> In the markup, can I simply add the onblur and it will get appended?
>
> onblur="alert('update')"
>
> How do I add the ajax call and then add my own javascript call?
>
>
>
>


-- 
Pedro Henrique Oliveira dos Santos

Reply via email to