click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1052473 - /click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java
Date Fri, 24 Dec 2010 10:24:04 GMT
Author: sabob
Date: Fri Dec 24 10:24:04 2010
New Revision: 1052473

URL: http://svn.apache.org/viewvc?rev=1052473&view=rev
Log:
Remove auto binding from examples CLK-742

Modified:
    click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java

Modified: click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java
URL: http://svn.apache.org/viewvc/click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java?rev=1052473&r1=1052472&r2=1052473&view=diff
==============================================================================
--- click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java
(original)
+++ click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java
Fri Dec 24 10:24:04 2010
@@ -36,7 +36,6 @@ import org.apache.click.control.Table;
 import org.apache.click.examples.page.BorderPage;
 import org.apache.click.examples.quartz.JobAndSimpleTrigger;
 import org.apache.click.examples.quartz.SchedulerService;
-import org.apache.click.util.Bindable;
 import org.apache.click.util.HtmlStringBuffer;
 import org.quartz.Trigger;
 import org.quartz.ee.servlet.QuartzInitializerListener;
@@ -52,7 +51,7 @@ public class QuartzJobSchedulerPage exte
     private static final String DATE_FORMAT = "{0,date,hh:mm a d MMM yy }";
 
     /** The auto bound refresh button. */
-    @Bindable protected ActionButton refresh = new ActionButton("refresh");
+    private ActionButton refresh = new ActionButton("refresh");
 
     // Private Variables ------------------------------------------------------
 
@@ -70,6 +69,8 @@ public class QuartzJobSchedulerPage exte
     // Constructor ------------------------------------------------------------
 
     public QuartzJobSchedulerPage() {
+        // Add button
+        addControl(refresh);
 
         // Table
         addControl(table);



Mime
View raw message