incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r475511 - /incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
Date Thu, 16 Nov 2006 00:52:24 GMT
Author: awiner
Date: Wed Nov 15 16:52:23 2006
New Revision: 475511

URL: http://svn.apache.org/viewvc?view=rev&rev=475511
Log:
ADFFACES-280: NPE in TableUtils when a commandNvigationButton is clicked

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java?view=diff&rev=475511&r1=475510&r2=475511
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
Wed Nov 15 16:52:23 2006
@@ -1142,7 +1142,9 @@
    */
   private Object _setELVar(String varName, Object newData)
   {
-    assert varName != null;
+    if (varName == null)
+      return null;
+
     // we need to place each row at an EL reachable place so that it
     // can be accessed via the 'var' variable. Let's place it on the
     // requestMap:



Mime
View raw message