Author: amarkhel
Date: 2010-12-27 07:48:01 -0500 (Mon, 27 Dec 2010)
New Revision: 20807
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.ecss
Log:
https://issues.jboss.org/browse/RF-9653 popupPanel: trimOverlayedElements not working
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java 2010-12-27
12:32:01 UTC (rev 20806)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PopupPanelBaseRenderer.java 2010-12-27
12:48:01 UTC (rev 20807)
@@ -164,7 +164,7 @@
public String getStyleIfTrimmed(UIComponent panel){
if
(panel.getAttributes().get("trimOverlayedElements").equals(Boolean.TRUE)) {
- return "position: relative, z-index : 0";
+ return "position: relative; z-index : 0;";
}
return "";
}
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.ecss
===================================================================
---
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.ecss 2010-12-27
12:32:01 UTC (rev 20806)
+++
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.ecss 2010-12-27
12:48:01 UTC (rev 20807)
@@ -65,8 +65,7 @@
z-index:100;
}
-.rf-pp-cnt-scrlr {
- position : relative;
+.rf-pp-cnt-scrlr {
top : 0px;
left : 0px;
overflow : auto;