Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3079

TabCollapseEvent does not contain the correct tab

    Details

      Description

      Steps to reproduce:

      1. Deploy the showcase webapp and navigate to the alloy:accordion Server Events use-case (or navigate to the same use case on liferayfaces.org).
      2. Click the Powerful Integration tab header.

      If the bug still exists, the following faces message will appear:

      Received 'tabCollapseEvent' for tab with header 'Compatible' in the APPLY_REQUEST_VALUES 2 phase.

      If the bug is fixed, the following faces message will appear:

      Received 'tabCollapseEvent' for tab with header 'Powerful Integration' in the APPLY_REQUEST_VALUES 2 phase.

      This error is due to TabCollapseEvent.getTab() returning the first tab instead of the tab which was collapsed. Note that TabCollapseEvent.getRowData() also returns the row data for the first tab rather than the tab which was collapsed.

        Attachments

          Activity

            People

            Assignee:
            kyle.stiemann Kyle Stiemann (Inactive)
            Reporter:
            kyle.stiemann Kyle Stiemann (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                alloy-2.0.1
                alloy-3.0.1