odd : the maximum value for the timout is Integer.MAX_VALUE.

François

Le 9 juil. 2012 à 15:11, esajjkh a écrit :

> When I create an instance of AjaxSelfUpdatingTimerBehavior with value of
> TIMEOUT, the onPostProcessTarget methods is being called immediately rather
> than it should wait for the specified time. 
> Below is the code snippet for clarity.
> 
> final long TIMEOUT= 63078410055L; // it becomes 730,1 Days
> 
> conferenceStartTimer = new
> AjaxSelfUpdatingTimerBehavior(Duration.milliseconds(TIMEOUT)) {
> 
>            @Override
>            protected void onPostProcessTarget(AjaxRequestTarget target) {
>                  info(getString("INVALID TIMEOUT"));
>               }
>        };
> 
> Can someone help me why it is calling this method before the time is out? 
> Thank you!
> 
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/AjaxSelfUpdatingTimerBehavior-stops-working-tp4650412.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 

Reply via email to