ICEfaces
  1. ICEfaces
  2. ICE-8355

ace:dataTable - Row selection is lost when expanding/contracting panelExpansion

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 3.1.0.RC1
    • Fix Version/s: 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.1.0 BETA2 06282012
    • Assignee Priority:
      P2

      Description

      An ace:dataTable is setup to have a nested dataTable in the panelExpansion component. The nested table uses row selection. If you expand the row to show the nested dataTable, select a row, contact the row, then expand it again, the row selection highlight is lost.

        Activity

        Hide
        Nils Lundquist added a comment -

        The child table doesn't have ajax selection enabled so it is not expected that it will decode the selection on the server before the expansion is closed. The crux of the issue is collapsed regions are not iterated over in phase processing and since the collapse event of the parent DT happens before the child DT get a chance to select, (due to the DOM visiting order of JSF lifecycles).

        The selection state of the component needs to be submitted prior to contraction, either with ajax selection or otherwise.

        Show
        Nils Lundquist added a comment - The child table doesn't have ajax selection enabled so it is not expected that it will decode the selection on the server before the expansion is closed. The crux of the issue is collapsed regions are not iterated over in phase processing and since the collapse event of the parent DT happens before the child DT get a chance to select, (due to the DOM visiting order of JSF lifecycles). The selection state of the component needs to be submitted prior to contraction, either with ajax selection or otherwise.

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: