click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1096504 - /click/trunk/click/framework/src/org/apache/click/control/Table.java
Date Mon, 25 Apr 2011 15:52:23 GMT
Author: sabob
Date: Mon Apr 25 15:52:23 2011
New Revision: 1096504

URL: http://svn.apache.org/viewvc?rev=1096504&view=rev
Log:
only establish parent if necessary

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=1096504&r1=1096503&r2=1096504&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 Mon Apr 25 15:52:23
2011
@@ -1024,7 +1024,9 @@ public class Table extends AbstractContr
         super.setName(name);
         ActionLink localControlLink = getControlLink();
         localControlLink.setName(getName() + "-controlLink");
-        localControlLink.setParent(this);
+        if ((localControlLink.getParent()) == null) {
+            localControlLink.setParent(this);
+        }
     }
 
     /**



Mime
View raw message