You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Martin Dietze <di...@fh-wedel.de> on 2013/02/15 14:05:22 UTC

Re: 6.0 Migration issue: wrap Wicket Ajax JS-code as previously with AjaxCallDecorators

On Thu, February 14, 2013, Fred!!! wrote:

> it's possible to set an throtteling delay by Wicket AjaxRequestAttributes. 
> Have a look at 
> https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax#WicketAjax-AjaxRequestAttributes
>
> Something like this:
> new AjaxEventBehavior("onkeydown"){
>        void updateAjaxAttributes(AjaxRequestAttributes attr)
>        {
>           attributes.setThrottlingSettings(new ThrottlingSettings(id, 
> delay))
>        }
> }

That looks good, thank you!

Cheers,

M'bert

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Die groessten Liebesgeschichten sind die, die nie stattgefunden haben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org