You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by kn...@apache.org on 2007/03/03 16:14:27 UTC

svn commit: r514169 - /incubator/wicket/branches/wicket-1.x/wicket-examples/src/main/java/wicket/examples/ajax/builtin/WorldClockPage.java

Author: knopp
Date: Sat Mar  3 07:14:26 2007
New Revision: 514169

URL: http://svn.apache.org/viewvc?view=rev&rev=514169
Log:
Added the updating behavior to page instead of a label.

Modified:
    incubator/wicket/branches/wicket-1.x/wicket-examples/src/main/java/wicket/examples/ajax/builtin/WorldClockPage.java

Modified: incubator/wicket/branches/wicket-1.x/wicket-examples/src/main/java/wicket/examples/ajax/builtin/WorldClockPage.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket-examples/src/main/java/wicket/examples/ajax/builtin/WorldClockPage.java?view=diff&rev=514169&r1=514168&r2=514169
==============================================================================
--- incubator/wicket/branches/wicket-1.x/wicket-examples/src/main/java/wicket/examples/ajax/builtin/WorldClockPage.java (original)
+++ incubator/wicket/branches/wicket-1.x/wicket-examples/src/main/java/wicket/examples/ajax/builtin/WorldClockPage.java Sat Mar  3 07:14:26 2007
@@ -58,9 +58,9 @@
 		add(prague);
 		add(london);
 
-		// add the timer behavior to the la component and make it update all
+		// add the timer behavior to the page and make it update all
 		// other components as well
-		la.add(new AbstractAjaxTimerBehavior(Duration.seconds(5))
+		add(new AbstractAjaxTimerBehavior(Duration.seconds(1))
 		{
 			/**
 			 * @see wicket.ajax.AbstractAjaxTimerBehavior#onTimer(wicket.ajax.AjaxRequestTarget)