You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Amund Elstad (JIRA)" <de...@myfaces.apache.org> on 2007/12/12 14:12:42 UTC

[jira] Created: (MYFACES-1787) javax.faces.UIData.processColumnChildren may visit extra (filtered) rows during decode/validate/update

javax.faces.UIData.processColumnChildren may visit extra (filtered) rows during decode/validate/update
------------------------------------------------------------------------------------------------------

                 Key: MYFACES-1787
                 URL: https://issues.apache.org/jira/browse/MYFACES-1787
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions:  1.2.0
            Reporter: Amund Elstad


processColumnChildren  ignores value expressions for attributes first and rows and will process the entire dataModel regardless. 

The generated UIData should IMO be modified:

--- UIData.java.orginal Wed Dec 12 13:19:35 2007
+++ UIData.java Wed Dec 12 13:22:01 2007
@@ -586,8 +586,8 @@
      */
     private void processColumnChildren(FacesContext context, int processAction)

     {
-        int first = _first;
-        int rows = _rows;
+       int first = getFirst();
+       int rows = getRows();
         int last;
         if (rows == 0)
         {

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.