Sorry, but... any ideas? Should i create an issue in jira?

Thanks!
Juan

On Feb 19, 2008 12:56 PM, Juan Gabriel Arias <[EMAIL PROTECTED]> wrote:

> Hi all,
> is there a way to do that? Restart the AjaxTimeBehavior?
>
> I have a panel, that should update itself when some event occurs. So, i
> use AjaxTimeBehavior to check periodically for that condition.
>
> But i also have another component making user-fired ajax requests. And i
> wanted to check my business condition and restart the interval timeout in
> both cases, not only in when AjaxTimeBehavior ends its time-out period. Just
> for avoiding inmediate/unnecesary ajax requests...
>
> Looking AbstractAjaxTimerBehavior code, i saw
>
> protected final void respond(final AjaxRequestTarget target)
> {
>     onTimer(target);
>
>     if (!stopped)
>     {
>         target.getHeaderResponse
> ().renderOnLoadJavascript(getJsTimeoutCall(updateInterval));
>     }
> }
>
> I belileve that i should do somethin similar... but this is all protected,
> or private...
>
> Does this make any sense for you?
>
> regards!
> Juan
>

Reply via email to