Additional attributes to ajax events

2010-07-21 Thread Brown, Berlin [GCG-PFS]
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); }

Re: Additional attributes to ajax events

2010-07-21 Thread Pedro Santos
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

RE: Additional attributes to ajax events

2010-07-21 Thread Brown, Berlin [GCG-PFS]
Message- From: Pedro Santos [mailto:pedros...@gmail.com] Sent: Wednesday, July 21, 2010 2:15 PM To: users@wicket.apache.org Subject: Re: Additional attributes to ajax events You can override the getAjaxCallDecorator method from AjaxFormComponentUpdatingBehavior and return an IAjaxCallDecorator

Re: Additional attributes to ajax events

2010-07-21 Thread Pedro Santos
on what you said, it looks like you are suggesting adding the javascript method in the Java code. -Original Message- From: Pedro Santos [mailto:pedros...@gmail.com] Sent: Wednesday, July 21, 2010 2:15 PM To: users@wicket.apache.org Subject: Re: Additional attributes to ajax events You