Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.0.0.GA_P01, 3.2, EE-3.2.0.BETA
-
Fix Version/s: 3.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Liferay 6.x
-
Assignee Priority:P1
Description
When displaying an ice:menuPopup, the positioning of the popup is off likely due to the position:relative usage of Liferay.
This issue had been addressed inICE-2967 but these workaround don't seem to work for LIferay 6.x
This issue had been addressed in
-
Hide
- icefaces-ee-compat.jar
- 2.60 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- com/icesoft/.../ExtrasSetup$1.class 0.9 kB
- com/icesoft/.../ExtrasSetup$2.class 4 kB
- com/.../ExtrasSetup$FormHiddenInputFieldsRenderer.class 3 kB
- com/.../ExtrasSetup$JavascriptResourceOutput.class 0.8 kB
- com/icesoft/.../ExtrasSetup.class 3 kB
- com/.../PartialSubmitPhaseListener.class 5 kB
- com/icesoft/.../StartupTime.class 1 kB
- com/.../SessionRenderer$StartupListener.class 1 kB
- com/icesoft/.../render/SessionRenderer.class 1 kB
- com/icesoft/.../AttributeConstants.class 6 kB
- com/icesoft/.../component/CheckboxTag.class 3 kB
- com/icesoft/.../ColumnGroupTag.class 3 kB
- com/icesoft/.../CommandButtonTag.class 14 kB
- com/icesoft/.../CommandLinkTag.class 14 kB
- com/icesoft/.../CommandSortHeader.class 4 kB
- com/.../CommandSortHeaderRenderer.class 3 kB
- com/icesoft/.../CommandSortHeaderTag.class 5 kB
- com/icesoft/.../ContextActionEvent.class 1 kB
- com/icesoft/.../component/CSS_DEFAULT.class 10 kB
- com/icesoft/.../CSVOutputHandler.class 2 kB
- com/icesoft/.../DataExporter$1.class 0.9 kB
- com/icesoft/.../DataExporter.class 17 kB
- com/icesoft/.../DataExporterRenderer.class 4 kB
- com/icesoft/.../DataExporterTag.class 6 kB
- com/icesoft/.../ExcelOutputHandler.class 4 kB
- com/icesoft/.../OutputTypeHandler.class 1 kB
- com/icesoft/.../DataPaginator$1.class 1.0 kB
- com/icesoft/.../DataPaginator.class 21 kB
- com/.../DataPaginatorGroup$Invoker.class 0.3 kB
-
Hide
- MenuPopupPositioningIssue.war
- 8.50 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../example/Item.class 0.3 kB
- WEB-INF/classes/.../example/TestBean.class 6 kB
- WEB-INF/faces-config.xml 0.3 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-ee-ace.jar 1.53 MB
- WEB-INF/lib/icefaces-ee-compat.jar 2.58 MB
- WEB-INF/lib/icefaces-ee-ext.jar 56 kB
- WEB-INF/lib/icefaces-ee.jar 277 kB
- WEB-INF/lib/javax.faces.jar 2.47 MB
- WEB-INF/.../liferay-faces-bridge-api-3.0.0-ga1.jar 29 kB
- WEB-INF/.../liferay-faces-bridge-impl-3.0.0-ga1.jar 447 kB
- WEB-INF/.../liferay-faces-portal-3.0.0-ga1.jar 81 kB
- WEB-INF/.../liferay-faces-util-3.0.0-ga1.jar 82 kB
- WEB-INF/liferay-display.xml 0.2 kB
- WEB-INF/liferay-portlet.xml 0.8 kB
- WEB-INF/portlet.xml 1 kB
- WEB-INF/web.xml 3 kB
- welcomeICEfaces.xhtml 4 kB
-
- MenuPopupPositioningIssue.zip
- 34 kB
- Arran Mccullough
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Attached a customized compat jar that has changes to resolve the positioning.
Show
Arran Mccullough
added a comment - Attached a customized compat jar that has changes to resolve the positioning.
Committed fix to trunk at revision 33743.
First we check if these additional calculations are necessary by checking if the offset parent of the submenu is different than the body element. In such case these additional calculations are necessary for taking into account this offset parent, otherwise they aren't necessary.
Show
Arturo Zambrano
added a comment - Committed fix to trunk at revision 33743.
First we check if these additional calculations are necessary by checking if the offset parent of the submenu is different than the body element. In such case these additional calculations are necessary for taking into account this offset parent, otherwise they aren't necessary.
Testing notes:
Just verify that the popup menu is correctly positioned in Liferay 6 and 5, as well as in the non-portlet component-showcase app. Also, run all related regression tests for this component to verify that this fix doesn't affect the positioning in other scenarios.
Show
Arturo Zambrano
added a comment - Testing notes:
Just verify that the popup menu is correctly positioned in Liferay 6 and 5, as well as in the non-portlet component-showcase app. Also, run all related regression tests for this component to verify that this fix doesn't affect the positioning in other scenarios.
Attached test case that shows the issue.
Steps: