Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Jboss Portal 2.7.2-GA (JBoss AS 4.2.3), FF 3.0.10, IE7
Description
Setting the css position attribute (ie. fixed, relative, etc. )on a panelPopup style in a Portlet has no effect and looks as if it's being hard coded as absolute. Here is the jspx code:
<ice:panelPopup style="position: fixed; z-index:999; top: 10px;left: 400px; width: 400px; height: 200px;background: #FFFFFF;" autoCenter="false" modal="true" rendered="#{backingBean.rendered}">
which renders out the following :
<div class="icePnlPop" ..... style="background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; z-index: 25001; top: 135.5px; left: 399px; width: 400px; height: 200px; visibility: visible; position: absolute;">
Notice the position:absolute set at the very end. Inspecting the css using Firebug yields the following curious styleclass:
element.style {
background-attachment:scroll;
background-color:#FFFFFF;
background-image:none;
background-position:0 0;
background-repeat:repeat;
height:200px;
left:399px;
position:absolute;
top:135.5px;
visibility:visible;
width:400px;
z-index:25001;
}
This is also happening with IE7.
<ice:panelPopup style="position: fixed; z-index:999; top: 10px;left: 400px; width: 400px; height: 200px;background: #FFFFFF;" autoCenter="false" modal="true" rendered="#{backingBean.rendered}">
which renders out the following :
<div class="icePnlPop" ..... style="background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; z-index: 25001; top: 135.5px; left: 399px; width: 400px; height: 200px; visibility: visible; position: absolute;">
Notice the position:absolute set at the very end. Inspecting the css using Firebug yields the following curious styleclass:
element.style {
background-attachment:scroll;
background-color:#FFFFFF;
background-image:none;
background-position:0 0;
background-repeat:repeat;
height:200px;
left:399px;
position:absolute;
top:135.5px;
visibility:visible;
width:400px;
z-index:25001;
}
This is also happening with IE7.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19949 | Thu Dec 10 15:45:41 MST 2009 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/panelpopup/PanelPopup.java
MODIFY /icefaces/scratchpads/glimmer/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-panelpopup-props.xml MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/resources/META-INF/resources/ice-extras.js MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/panelpopup/PanelPopupRenderer.java MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/outputconnectionstatus/OutputConnectionStatusRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18999 | Thu Jun 25 17:23:31 MDT 2009 | yip.ng | Changed to allow specifying position using CSS for modal popup. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelpopup/PanelPopupRenderer.java
MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-panelpopup-props.xml MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/style.js |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18984 | Thu Jun 18 15:00:49 MDT 2009 | yip.ng | Changed to allow positioning of modal dialog. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/lib/extras/style.js
|