ICEfaces
  1. ICEfaces
  2. ICE-8778

Contents of menu components are visible before initializing component

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: EE-3.2.0.GA, 3.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any
    • Salesforce Case Reference:

      Description


      On slow browsers, such as IE8, and/or if the page has too many contents, the raw markup of the menu components, defining menu items and submenus, is initially visible until the browser gets to the point of running the initialization script for the menu, where all the styling and behaviour are applied. This could be prevented by simply rendering the markup initially invisible and then remove such styling during the initialization of the component in the client.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32232 Mon Nov 19 17:00:42 MST 2012 art.zambrano ICE-8778 the menu renderers were modified to always render the markup with 'display:none;', in order to avoid showing the raw unordered list on the page before it's initialized by the script; the scripts were modified to remove this piece of styling once the components have been initialized
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menu/MenuRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/menu/menu.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menubar/MenuBarRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menubutton/MenuButtonRenderer.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: