Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: EE-3.0.0.BETA
-
Fix Version/s: 3.0.1, EE-3.0.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces EE 3.0 BETA 09032012, Firefox, IE8, IE9
-
Workaround Exists:Yes
-
Workaround Description:Use a fixes width/height
Description
This issue may be due to the auto sizing of the dialog. If using the minWidth/minHeight properties or not setting a width/height at all the issue is shown. Setting a fixed width/height is a workaround for this issue.
-
Hide
- Case10648Example7880.war
- 9.44 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../example/Item.class 5 kB
- WEB-INF/classes/.../example/NestedItem.class 2 kB
- WEB-INF/classes/.../example/TestBean.class 5 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.47 MB
- WEB-INF/lib/icefaces-ee-compat.jar 2.57 MB
- WEB-INF/lib/icefaces-ee.jar 269 kB
- WEB-INF/lib/javax.faces.jar 2.47 MB
- WEB-INF/lib/poi-3.7.jar 1.60 MB
- WEB-INF/web.xml 2 kB
- dialogTableTest.xhtml 6 kB
- footerTest.xhtml 5 kB
- include_header.xhtml 0.4 kB
- nestedTable.xhtml 10 kB
- noHeaderGroup.xhtml 5 kB
- resources/css/basic.css 0.3 kB
- resources/css/datatable.css 5 kB
- resources/css/williams.css 33 kB
- tabSetTest.xhtml 8 kB
- tabSetTestStyle.xhtml 8 kB
- welcomeICEfaces.xhtml 15 kB
-
- Case10648Example7880.zip
- 39 kB
- Arran Mccullough
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
There is no fix for this issue other than perhaps changing how/when dialog calculates the 'center' for its position, but seeing as that is likely handled by the underlying jQuery component it would overwhelmingly difficult to modify as needed.
This feature is, as Arran suspected, due to the dialog being positioned when opened, and he resize behaviour of the scrollable table not triggering re-layout of the dialog.
At this time the only way to solve the issue would be to modify the jQuery dialog component to position a short time after opening, to allow the table a moment to size itself appropriately. This would be a great deal of work for an issue so easily worked around with fixed sizing.
It may be possible in the future to more easily solve the issue by having the table widget to trigger dlalog relayout post-resize with a redesign of the client side widget instance context accessibility.
It should also be noted that this issue could potential be worked around at the app level by the dialog component triggering a delayed resize following it successfully being opened.
Test case that shows issue. URL: dialogTableTest.jsf
Steps: