ICEfaces
  1. ICEfaces
  2. ICE-2024

Row selector attribute multiple = false not enforced across multiple pages

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.2, 1.7DR#1, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      When using row selection within a datatable that has a paginator, if multiple = false for the row selector, one row is selectable per paginator page. However, this should be enforced across multiple pages. For example, if a user selects a row on the first page, paginates forward and then selects a new row, the previously selected row is not being unselected.

        Activity

        Hide
        tjohnson added a comment -

        Example application demonstrating the issue. NOTE: The build.xml and build.properties files will need to be modified based on your configuration.

        Show
        tjohnson added a comment - Example application demonstrating the issue. NOTE: The build.xml and build.properties files will need to be modified based on your configuration.
        Hide
        yip.ng added a comment -

        Original code logic would only clear selections on the currently displayed page. Added/Changed code to retrieve the rest of the table rows and clear them all.

        Show
        yip.ng added a comment - Original code logic would only clear selections on the currently displayed page. Added/Changed code to retrieve the rest of the table rows and clear them all.

          People

          • Assignee:
            Unassigned
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: