I don't think anyone has come up with this usecase. So a JIRA would be
good, a patch better.

Martijn

On 2/20/08, Juan Gabriel Arias <[EMAIL PROTECTED]> wrote:
> 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
> >
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to