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

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000UbtXWAAZ
        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.
        Hide
        Arran Mccullough added a comment -

        Attached isolated test case source code.

        Show
        Arran Mccullough added a comment - Attached isolated test case source code.
        Arran Mccullough made changes -
        Attachment Case12284Example.zip [ 16127 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s EE-3.3.0.GA_P01 [ 11174 ]
        Fix Version/s 3.4 [ 10770 ]
        Assignee Priority P1 [ 10010 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37051 Tue Jul 23 10:05:08 MDT 2013 art.zambrano ICE-9434 removed "javascript: void(0)" from menu items to avoid dispose window request on IE
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menu/BaseMenuRenderer.java
        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
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: