Details
-
Type: Improvement
-
Status: Closed
-
Priority: 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.
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
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000JLLEb] |
Ken Fyten
made changes -
Fix Version/s | EE-3.0.0.GA [ 10262 ] | |
Fix Version/s | 3.0.1 [ 10282 ] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.)] | |
Assignee Priority | P1 | |
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). |
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. |
Assignee | Arturo Zambrano [ artzambrano ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28023 | Fri Feb 24 16:42:38 MST 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/menu/menu.js
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuMeta.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28024 | Fri Feb 24 16:46:25 MST 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuMeta.java
MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/menu/menu.js 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 | #28041 | Mon Feb 27 13:32:56 MST 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/menu/menu.js
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menubar/MenuBarMeta.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menubar/MenuBarRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28042 | Mon Feb 27 13:39:41 MST 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/menubar/MenuBarMeta.java
MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/menubar/MenuBarRenderer.java MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/menu/menu.js |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Arturo Zambrano
made changes -
Attachment | contextMenuSubmenu.xhtml [ 14103 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28076 | Tue Feb 28 13:02:14 MST 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/menu/menu.js
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuMeta.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28077 | Tue Feb 28 13:12:28 MST 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/contextmenu/ContextMenuMeta.java
MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/menu/menu.js |
Ken Fyten
made changes -
Summary | ace:contextMenu - add capability to force the menu to display in a certain direction | ace:contextMenu, ace:menuBar - add capability to force the menu to display in a certain direction |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 |
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.