Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Invalid
-
Affects Version/s: EE-4.1.0.RC1
-
Fix Version/s: EE-4.2.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:jsf2.2 ace
-
Assignee Priority:P2
-
Support Case References:Support Case 13923: https://icesoft.my.salesforce.com/5007000001euBZV?srPos=0&srKp=500
-
Workaround Description:yes, can manually put in width and height values for dialog, but this does not help if each row of data has different amounts of data in the dialog.
Description
See the attached test case. The dialog is within an <ace:column>, within an <ace:dataTable> which is within an <ace:tabSet>. It appears like the content is empty (perhaps a timing thing as the size may be calculated before the markup of the dialog is present. There is no "onReady" or check to see that the markup is present before the dialog size is calculated.
attached test case was created with specific support patch (see support case)
attached test case was created with specific support patch (see support case)
Issue Links
- depends on
-
ICE-11167 Reposition the dialog when browser window is resized
-
- Closed
-
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
There's no issue with any component. The only reason why the dialog appears like it has no content in this test app is because in a way it has no content. The content of the dialog is a div element that has style="position:fixed;" (Dialog.xhtml). When an element has fixed position, it is positioned relative to the viewport, not relative to the normal flow of elements. So, when the browser computes dimensions and positions, it doesn't take into account the content of this dialog because it's to be positioned relative to the viewport.
There's no need to use fixed positioning in the dialog's content. It should be removed. In any case, they want to add style="position:fixed;" to the ace:dialog tag itself, so that it doesn't move when scrolling the page.