Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P04
-
Fix Version/s: EE-1.8.2.GA_P05
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P3
-
Workaround Exists:Yes
-
Workaround Description:Use a set height and width for the popup, this allows the popup to remain centred.
Description
When using the ice:panelPopup with autoCentre=true the popup does not get centred when the popups contents get changed.
-
Hide
- Case11552Example.war
- 7.25 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 1 kB
- WEB-INF/faces-config.xml 0.8 kB
- WEB-INF/lib/FastInfoset.jar 281 kB
- WEB-INF/lib/backport-util-concurrent.jar 316 kB
- WEB-INF/lib/commons-beanutils.jar 113 kB
- WEB-INF/lib/commons-collections.jar 162 kB
- WEB-INF/lib/commons-digester.jar 104 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-logging.jar 30 kB
- WEB-INF/lib/icefaces-comps.jar 1.75 MB
- WEB-INF/lib/icefaces-facelets.jar 592 kB
- WEB-INF/lib/icefaces.jar 1.22 MB
- WEB-INF/lib/jsf-api.jar 312 kB
- WEB-INF/lib/jsf-impl.jar 1.14 MB
- WEB-INF/lib/jstl.jar 20 kB
- WEB-INF/lib/jxl.jar 689 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 148 kB
- WEB-INF/lib/standard.jar 380 kB
- WEB-INF/web.xml 4 kB
- welcomeICEfaces.xhtml 3 kB
-
- Case11552Example.zip
- 22 kB
- Arran Mccullough
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The content is rendered by a child facet. There is no way the parent popup is going to know what's being rendered in the child facet. And the child facet doesn't know about its parent either. Since the only change is in the content, DOM diff. just totally removes the rendering of the popup.
The only way is for the child facet to force some arificial changes in the popup rendering. But how?
Show
yip.ng
added a comment - - edited The content is rendered by a child facet. There is no way the parent popup is going to know what's being rendered in the child facet. And the child facet doesn't know about its parent either. Since the only change is in the content, DOM diff. just totally removes the rendering of the popup.
The only way is for the child facet to force some arificial changes in the popup rendering. But how?
Attached test case that shows this behavior.
Steps: