ICEfaces
  1. ICEfaces
  2. ICE-8266

Extra requests when changing tab content via ace:menuBar

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0.BETA2
    • Fix Version/s: 3.1.0.RC1, 3.1, EE-3.0.0.GA_P01
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.1.0 BETA2-PREV
    • Assignee Priority:
      P3

      Description

      When switching tab content in the Williams POC there are some extra ajax requests being processed after the initial tab change request. These extra requests are a close event tied to an ace:dialog that uses an ace:ajax tag for the close event.

      The more dialogs that are included in the page content with the ace:ajax tag, the more extra ajax requests that are seen.

        Activity

        Hide
        Arran Mccullough added a comment -

        Firebug output screen shots attached that show the multiple requests.

        Steps to reproduce with Williams POC:

        • Load the POC and open Firebug.
        • Load the first tab content with Screen 1
        • Clear the firebug console.
        • Load the first tab content with Screen 2. This is where the multiple requests occur.
        Show
        Arran Mccullough added a comment - Firebug output screen shots attached that show the multiple requests. Steps to reproduce with Williams POC: Load the POC and open Firebug. Load the first tab content with Screen 1 Clear the firebug console. Load the first tab content with Screen 2. This is where the multiple requests occur.
        Hide
        Arturo Zambrano added a comment -

        Committed fix at revision 29548.
        Modified the close event listeners to trigger the ajax close event only if the user directly clicks on the close button or calls the hide() method of our ice.ace.Dialog class; the ajax close event won't be triggered if the container of the dialog (e.g. a tab) is hidden.

        Show
        Arturo Zambrano added a comment - Committed fix at revision 29548. Modified the close event listeners to trigger the ajax close event only if the user directly clicks on the close button or calls the hide() method of our ice.ace.Dialog class; the ajax close event won't be triggered if the container of the dialog (e.g. a tab) is hidden.
        Hide
        Arturo Zambrano added a comment -

        Committed fix to the maintenance branch at revision 30045.

        Show
        Arturo Zambrano added a comment - Committed fix to the maintenance branch at revision 30045.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: