click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r953974 - /click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java
Date Sat, 12 Jun 2010 09:38:34 GMT
Author: sabob
Date: Sat Jun 12 09:38:34 2010
New Revision: 953974

URL: http://svn.apache.org/viewvc?rev=953974&view=rev
Log:
added ajax support to TabbedPanel. CLK-653

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java?rev=953974&r1=953973&r2=953974&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java (original)
+++ click/trunk/click/extras/src/org/apache/click/extras/panel/TabbedPanel.java Sat Jun 12
09:38:34 2010
@@ -20,6 +20,7 @@ package org.apache.click.extras.panel;
 
 import java.util.List;
 import org.apache.click.ActionListener;
+import org.apache.click.CallbackDispatcher;
 import org.apache.click.Context;
 import org.apache.click.Control;
 import org.apache.click.control.ActionLink;
@@ -407,6 +408,10 @@ public class TabbedPanel extends Panel {
      */
     @Override
     public void onInit() {
+        if (hasBehaviors()) {
+            CallbackDispatcher.registerBehavior(this);
+        }
+
         initActivePanel();
 
         for (int i = 0, size = getControls().size(); i < size; i++) {



Mime
View raw message