myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grantsm...@apache.org
Subject svn commit: r640882 - /myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/crosstable/UIColumns.java
Date Tue, 25 Mar 2008 16:16:47 GMT
Author: grantsmith
Date: Tue Mar 25 09:16:36 2008
New Revision: 640882

URL: http://svn.apache.org/viewvc?rev=640882&view=rev
Log:
https://issues.apache.org/jira/browse/TOMAHAWK-1156

Modified:
    myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/crosstable/UIColumns.java

Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/crosstable/UIColumns.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/crosstable/UIColumns.java?rev=640882&r1=640881&r2=640882&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/crosstable/UIColumns.java
(original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/crosstable/UIColumns.java
Tue Mar 25 09:16:36 2008
@@ -260,6 +260,9 @@
     }
 
     protected void setDataModel(DataModel dataModel) {
+        if (dataModel == null && getParent() == null) {
+            return;
+        }
         UIComponent parent = getParentUIData().getParent();
         String clientID = "";
         if (parent != null) {



Mime
View raw message