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

        Hide
        Arturo Zambrano added a comment -

        Fixed at revision 28041 in the trunk and at revision 28042 in the maintenance branch.

        Added new 'direction' attribute to ace:contextMenu, with possible values 'up' and 'down'. Also added a 'direction' attribute to ace:menuBar with possible values 'up', 'down', 'left' and 'right'.

        Couldn't use 'position' because there was already another attribute with that name in ace:menu.

        Show
        Arturo Zambrano added a comment - Fixed at revision 28041 in the trunk and at revision 28042 in the maintenance branch. Added new 'direction' attribute to ace:contextMenu, with possible values 'up' and 'down'. Also added a 'direction' attribute to ace:menuBar with possible values 'up', 'down', 'left' and 'right'. Couldn't use 'position' because there was already another attribute with that name in ace:menu.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: