Thanks Daniel, didn't notice AbstractDefaultAjaxBehavior.getChannelName().
Not that I needed it, just curious. About the channel modes, that's what I
supposed, just wanted to be sure I'm not missing any possibly interesting
features.

And thanks for the post 'Discard queued Ajax Requests ;-)

2010/2/27 Daniel Frisk <dan...@jalbum.net>

> Hello Xavier,
>
> you can override AbstractDefaultAjaxBehavior.getChannelName() to return
> "something|d" and the channel will switch to drop behavior. I'm still using
> 1.3 so it may be different in 1.4.
>
> I've seen no documentation other than the code itself, but if my memory
> serves me right there are no other "options".
>
> // Daniel
> jalbum.net
>
>
> On 27 feb 2010, at 13:59, Xavier López wrote:
>
> > I've been facing a scenario where AJAX requests processing times were
> > abnormally elevated. That situation has already been fixed (problem of
> > AppServer configuration), but meanwhile, I was looking for some way to
> avoid
> > queueing all requests, in a way such that only the last request should be
> > processed (a good example would be an AutoComplete textfield).
> >
> > I found this post
> > http://old.nabble.com/Discard-queued-ajax-requests-td27140816.html, on
> the
> > same issue. The post states that using "|d" at the end of the ajax
> channel
> > does the job. However, the only way I know to specify the channel is by
> > making ajax calls from my code (js functions WicketAjaxGet/Post). There
> are
> > some questions that pop up off my head, just out of curiosity:
> >
> > Is it possible to specifiy that channel, let's say, in an AjaxBehavior ?
> > Looking through wicket-ajax.js i've seen the channel is defaulted to
> "0|s".
> > What does that |s mean ?
> >
> > Is there any documentation on the flags like can (or seem to) be added to
> > the channel ?
> >
> > Thanks!
> > Xavier
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
"Klein bottle for rent--inquire within."

Reply via email to