You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2010/07/24 13:04:30 UTC

svn commit: r978846 - /click/trunk/click/framework/src/org/apache/click/control/Table.java

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);
     }
 
     /**