You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "raju.ch" <ra...@gmail.com> on 2011/12/16 11:17:37 UTC

Auto refresh a WebPage

hi,
How to provide auto refresh functionality in wicket 1.4?

I'm getting data from DB, the data should get updated automatically for
every minute in the page , I used the below code to update my Page 
this.add(new AjaxSelfUpdatingTimerBehavior( Duration.minutes(1)){

				/**
				 * 
				 */
				private static final long serialVersionUID = 6104320784259955322L;
			});

but the cursor is not coming to the class Second time after 1 min..

Thanks in advance

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Auto-refresh-a-WebPage-tp4203984p4203984.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Auto refresh a WebPage

Posted by Andrea Del Bene <ad...@ciseonweb.it>.
You don't see anything appening inside "Wicket Ajax Debug" window? No 
request is performed after one minute?
> I mean while debugging I'm not at all getting the request to the class again
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Auto-refresh-a-WebPage-tp4203984p4204205.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>


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


Re: Auto refresh a WebPage

Posted by "raju.ch" <ra...@gmail.com>.
I mean while debugging I'm not at all getting the request to the class again

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Auto-refresh-a-WebPage-tp4203984p4204205.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Auto refresh a WebPage

Posted by Andrea Del Bene <ad...@ciseonweb.it>.
Hi,

excuse me but what do you mean with "cursor" and "class Second"?
> but the cursor is not coming to the class Second time after 1 min..


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