ICEfaces
  1. ICEfaces
  2. ICE-7769

ace:contextMenu, ace:menuBar - add capability to force the menu to display in a certain direction

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0.1, EE-3.0.0.GA
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      Feature Request: Add the ability to force the contextMenu to display in a certain direction regardless of where it is positioned in regards to the browser edges (top, bottom, left, right).

      This could be accomplished by adding a new attribute "position", which would accept the following values:

      auto - automatically position based on the available window real estate to maximize the amount of the menu that can be seen without scrolling (default).
      top - always open the contextMenu above the target element.
      bottom - always open the contextMenu below the target element.

      In all cases, the automatic logic for left or right placement would still apply to maximize the amount of the menu that can be seen without scrolling.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28077 Tue Feb 28 13:12:28 MST 2012 art.zambrano ICE-7769 added support for left and right to the 'direction' attribute in ace:contextMenu
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuMeta.java
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/menu/menu.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28076 Tue Feb 28 13:02:14 MST 2012 art.zambrano ICE-7769 added support for left and right to the 'direction' attribute in ace:contextMenu
        Files Changed
        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/ContextMenuMeta.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28042 Mon Feb 27 13:39:41 MST 2012 art.zambrano ICE-7769 added 'direction' attribute to ace:menuBar to force the menu to display either up or down, left or right
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/menubar/MenuBarMeta.java
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/menubar/MenuBarRenderer.java
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/menu/menu.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28041 Mon Feb 27 13:32:56 MST 2012 art.zambrano ICE-7769 added 'direction' attribute to ace:menuBar to force the menu to display either up or down, left or right
        Files Changed
        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/menubar/MenuBarMeta.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menubar/MenuBarRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28024 Fri Feb 24 16:46:25 MST 2012 art.zambrano ICE-7769 added 'direction' attribute to force the menu to display either up or down
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuMeta.java
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/menu/menu.js
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28023 Fri Feb 24 16:42:38 MST 2012 art.zambrano ICE-7769 added 'direction' attribute to force the menu to display either up or down
        Files Changed
        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/ContextMenuMeta.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuRenderer.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: