click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r978846 - /click/trunk/click/framework/src/org/apache/click/control/Table.java
Date Sat, 24 Jul 2010 11:04:30 GMT
Author: sabob
Date: Sat Jul 24 11:04:30 2010
New Revision: 978846

URL: http://svn.apache.org/viewvc?rev=978846&view=rev
Log:
set controlLink parent. CLK-686

Modified:
    click/trunk/click/framework/src/org/apache/click/control/Table.java

Modified: click/trunk/click/framework/src/org/apache/click/control/Table.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/Table.java?rev=978846&r1=978845&r2=978846&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/Table.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/Table.java Sat Jul 24 11:04:30
2010
@@ -425,8 +425,11 @@ public class Table extends AbstractContr
      * Flag indicating if <tt>rowList</tt> is nullified when
      * <tt>onDestroy()</tt> is invoked, default is true. This flag only applies
      * to <tt>stateful</tt> pages.
-     * <p/>
+     *
      * @see #setNullifyRowListOnDestroy(boolean)
+     *
+     * @deprecated stateful pages are not supported anymore, use stateful
+     * Controls instead
      */
     protected boolean nullifyRowListOnDestroy = true;
 
@@ -1018,7 +1021,9 @@ public class Table extends AbstractContr
     @Override
     public void setName(String name) {
         super.setName(name);
-        getControlLink().setName(getName() + "-controlLink");
+        ActionLink localControlLink = getControlLink();
+        localControlLink.setName(getName() + "-controlLink");
+        localControlLink.setParent(this);
     }
 
     /**



Mime
View raw message