incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r530837 - /incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXTableTemplate.java
Date Fri, 20 Apr 2007 15:56:28 GMT
Author: awiner
Date: Fri Apr 20 08:56:25 2007
New Revision: 530837

URL: http://svn.apache.org/viewvc?view=rev&rev=530837
Log:
ADFFACES-463: UIXTable.getSelectedRowData() does not check if selected row is still available

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

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXTableTemplate.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXTableTemplate.java?view=diff&rev=530837&r1=530836&r2=530837
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXTableTemplate.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXTableTemplate.java
Fri Apr 20 08:56:25 2007
@@ -193,7 +193,8 @@
       try
       {
         model.setRowKey(key);
-        return model.getRowData();
+        if (isRowAvailable())
+          return model.getRowData();
       }
       finally
       {



Mime
View raw message