ICEfaces
  1. ICEfaces
  2. ICE-9434

ace:menu - Dispose window called when selecting menuItem in IE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.2.0.GA, EE-3.3.0.GA
    • Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      IE
    • Assignee Priority:
      P1
    • Salesforce Case Reference:
    • Workaround Exists:
      Yes
    • Workaround Description:
      The issue isn't seen when using a Session scoped managed bean.

      Description

      When selecting a menuItem of an ace:menu component in IE, a dispose window post is sent in addition to the regular post. This seems to happen only in IE browsers and only if the managed bean is Window scope.

      In the IE console the following log is seen:
       [window] dispose window and associated views

      The POST contains the following content in the request body (along with an empty response):
      ice.submit.type=ice.dispose.window&ice.window=oghj7dgq2d&javax.faces.ViewState=-2042112994183676799%3A-4072238896818769177

        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 37051 and to the p01 tag at revision 37052.

        The fix consists in removing the href attribute altogether from non-link menu items (which was rendered with "javascript: void(0)" as the value) and changing the style attribute to display the pointer (hand) cursor when hovering over the item

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 37051 and to the p01 tag at revision 37052. The fix consists in removing the href attribute altogether from non-link menu items (which was rendered with "javascript: void(0)" as the value) and changing the style attribute to display the pointer (hand) cursor when hovering over the item
        Hide
        Arran Mccullough added a comment -

        Attached isolated test case source code.

        Show
        Arran Mccullough added a comment - Attached isolated test case source code.
        Hide
        Arran Mccullough added a comment -

        This is reproducible with the current online Showcase demo.

        Show
        Arran Mccullough added a comment - This is reproducible with the current online Showcase demo.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: