Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13973

EDT in uiRepeat - selection corrupted in multiple paged table

    Details

    • Sprint:
      4.5.0.Alpha3 - Sprint 5
    • Steps to Reproduce:
      Hide
      1. deploy Metamer, load: http://127.0.0.1:8080/metamer/faces/components/richExtendedDataTable/selection.xhtml?templates=uirepeat
      2. switch to the second page of the table
      3. select using CTRL and click first three rows
      4. see that the current selection contains wrong indices (rows are always numbered from 0 regardless of their position in model)
      5. switch to the first page
      6. see that first three rows are selected as well, they should not!
      Show
      deploy Metamer, load: http://127.0.0.1:8080/metamer/faces/components/richExtendedDataTable/selection.xhtml?templates=uirepeat switch to the second page of the table select using CTRL and click first three rows see that the current selection contains wrong indices (rows are always numbered from 0 regardless of their position in model) switch to the first page see that first three rows are selected as well, they should not!
    • Workaround Description:
      Hide

      Use a4j:repeat instead of ui:repeat.

      Show
      Use a4j:repeat instead of ui:repeat .

      Description

      When EDT is in uiRepeat and has multiple pages, then selection of rows functionality does not work as expected.

      It seems that there is a problem with row indices. Please see steps to reproduce.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  michpetrov Michal Petrov
                  Reporter:
                  jstefek Jiří Štefek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated: