Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P03
-
Fix Version/s: EE-3.3.0.GA_P04
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #13818 - https://icesoft.my.salesforce.com/5007000001ca6yL
Description
Scenario:
An ace:tabSet is set with two tabs. In each tab there is an ace:dialog that has modal=true set on each. These dialogs are controlled via the server side.
If a dialog is opened in one of the tabs, closed, and the tab is changed. The dialog for the second tab is not shown with a model background. The dialog itself is shown as it was set with modal=false.
An ace:tabSet is set with two tabs. In each tab there is an ace:dialog that has modal=true set on each. These dialogs are controlled via the server side.
If a dialog is opened in one of the tabs, closed, and the tab is changed. The dialog for the second tab is not shown with a model background. The dialog itself is shown as it was set with modal=false.
-
Hide
- Case13818Example.zip
- 20 kB
- Arran Mccullough
-
- Case13818Example/build.xml 3 kB
- Case13818Example/.../ant-deploy.xml 2 kB
- Case13818Example/.../build-impl.xml 80 kB
- Case13818Example/.../genfiles.properties 0.5 kB
- Case13818Example/.../private.properties 0.6 kB
- Case13818Example/.../project.properties 4 kB
- Case13818Example/nbproject/project.xml 1 kB
- Case13818Example/src/conf/MANIFEST.MF 0.0 kB
- Case13818Example/src/.../support/Item.java 0.1 kB
- Case13818Example/src/.../TestBean.java 1 kB
- Case13818Example/web/index.xhtml 0.5 kB
- Case13818Example/web/.../context.xml 0.1 kB
- Case13818Example/web/WEB-INF/web.xml 2 kB
- Case13818Example/.../welcomeICEfaces.xhtml 2 kB
-
Hide
- Case13818Example.war
- 8.93 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../support/Item.class 0.3 kB
- WEB-INF/classes/.../support/TestBean.class 1 kB
- WEB-INF/lib/icefaces-ace.jar 5.75 MB
- WEB-INF/lib/icefaces.jar 644 kB
- WEB-INF/lib/javax.faces.jar 2.55 MB
- WEB-INF/web.xml 2 kB
- index.xhtml 0.5 kB
- welcomeICEfaces.xhtml 2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The applied fix registers the ice.onElementRemove callback (used for cleaning up the dialog when its markup is removed) only when the dialog is shown instead of doing it in the dialog's constructor.
Show
Mircea Toma
added a comment - The applied fix registers the ice.onElementRemove callback (used for cleaning up the dialog when its markup is removed) only when the dialog is shown instead of doing it in the dialog's constructor.
Issue is reproducible when using the client side techniques for the ace:dialog. One difference is a noticeable "flash" of the modal background when opening the dialog.
Show
Arran Mccullough
added a comment - Issue is reproducible when using the client side techniques for the ace:dialog. One difference is a noticeable "flash" of the modal background when opening the dialog.
Attached test case to reproduce the issue.
Steps:
- Open welcomeICEfaces.jsf
- In the first tab, use the button to open the dialog. The dialog is shown with the modal background.
- Close the dialog.
- Navigate to the next tab and perform the same options. The modal background is not shown in this tab.
- Moving back to the first tab, it no longer shows the modal background as well.
Show
Arran Mccullough
added a comment - Attached test case to reproduce the issue.
Steps:
Open welcomeICEfaces.jsf
In the first tab, use the button to open the dialog. The dialog is shown with the modal background.
Close the dialog.
Navigate to the next tab and perform the same options. The modal background is not shown in this tab.
Moving back to the first tab, it no longer shows the modal background as well.
Verified with ICEfaces EE-3.3.0.GA_P04 Build #2 using attached test case, in IE7/8/11, FF41, Chrome51, MS Edge/ Tomcat7.