Details
-
Type: Bug
-
Status: Closed
-
Priority: Trivial
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P03
-
Fix Version/s: 3.0.1, EE-3.0.0.GA, EE-1.8.2.GA_P04
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces EE 1.8.2 P03
Description
-
- Case10908Example2.zip
- 19 kB
- Arran Mccullough
-
Hide
- Case10908Example2.war
- 6.78 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/.../example/TestBean.class 1 kB
- WEB-INF/faces-config.xml 0.6 kB
- WEB-INF/lib/backport-util-concurrent.jar 316 kB
- WEB-INF/lib/commons-beanutils.jar 223 kB
- WEB-INF/lib/commons-collections.jar 554 kB
- WEB-INF/lib/commons-digester.jar 137 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-logging.jar 51 kB
- WEB-INF/lib/icefaces-comps.jar 1.73 MB
- WEB-INF/lib/icefaces-facelets.jar 592 kB
- WEB-INF/lib/icefaces.jar 1.20 MB
- WEB-INF/lib/jsf-api-1.2.jar 347 kB
- WEB-INF/lib/jsf-impl-1.2.jar 818 kB
- WEB-INF/lib/jxl.jar 689 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 148 kB
- WEB-INF/web.xml 4 kB
- welcomeICEfaces.xhtml 2 kB
-
- screenshot-1.png
- 170 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
When using the latest 1.8 code I could not reproduce the issue. The panel is re-centered right away when clicking on "Show" button (to expand panel's content).
Commit #23101 had indeed some changes related to popup's visiblity state that might have interfered with some of the rest of functionality but some of the changes were removed or refactored later on. This might explain why the issue does not occur anymore.
Still not working for me after re-checkout and clean build of http://server.ice:8888/svn/ossrepo/icefaces/trunk/icefaces. See video at http://screencast.com/t/dkAF7wAj6.
Changed PanelPopupRenderer to use JavascriptContext.addJavascriptCall method to send the JS code for auto-centering instead rendering the JS code in the component's markup. Using this approach we make sure the auto-centering is sent along every update of the popup.
Applied fix to all the branches that require it.
Attached test case that show issue.
In the ICEfaces 1.8.2 release it would be centred when the content is rendered.