[ http://issues.apache.org/jira/browse/MYFACES-1020?page=comments#action_12362715 ]
Daniel Ray commented on MYFACES-1020: ------------------------------------- My apologies. I could have sworn that I left sample code. I don't have the code on hand at the moment so I can't simply repost it. I had a total of four dataTables. Two dataTables existed in one panelGrid and the other two existed in another panelGrid (Side by side comparison). I did not manually set the ids either. I only noticed it after posting a problem when using a dataList http://issues.apache.org/jira/browse/MYFACES-1009 Code is posted there). The UI requirement has changed since I posted the bug and I am now using one dataTable and one dataList on the screen and don't have the problem anymore because I'm using the layout attribute of dataList to number the rows. What I recall is that one dataTable would number 1 - 4 and the next dataTable would begin at 5. I also recall that if the second dataTable had multiple rows that the numbering would be the same and not incremented i.e. 5, 5, 5 and if I'm not mistaken I repopulated the two lists and saw the first table 1-4 and the second table start at 8 ??? Many thanks for digging deeper and finding the root problem. It may also explain the problem with http://issues.apache.org/jira/browse/MYFACES-814. I'm using MyEclipseIde plugin (4.1m2) on Linux and lose my patience easily when debugging taglibs (The plugin is much more robust on Windows). -Ray > Having multiple dataTables on a single page increments the rowCountVar > incorrectly. > ----------------------------------------------------------------------------------- > > Key: MYFACES-1020 > URL: http://issues.apache.org/jira/browse/MYFACES-1020 > Project: MyFaces > Type: Bug > Components: Tomahawk > Versions: 1.1.1 > Reporter: Daniel Ray > Priority: Minor > > Having multiple dataTables on a single page increments the rowCountVar > incorrectly. First dataTable increments as expected, but the second dataTable > will pick up the count where the first dataTable left off. Ensuring unique > rowCountVar names does not appear to help. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira