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

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case11437Example.war [ 14685 ]
        Attachment Case11437Example.zip [ 14686 ]
        Arran Mccullough made changes -
        Salesforce Case [5007000000NGU7J]
        Ken Fyten made changes -
        Fix Version/s 3.1 [ 10312 ]
        Assignee Priority P2
        Assignee Nils Lundquist [ nils.lundquist ]
        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.
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: