Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Salesforce Case Reference:
Description
An ace:confirmationDialog uses an h:commandButton that will hide the dialog and open a new ace:dialog via the onclick event. This commandButton also as an actionListener which is not called when the ace:dialog show() function is called. The dialog is displayed but no update is sent to the server.
-
Hide
- Case12578Example.war
- 7.05 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 0.9 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-compat.jar 2.91 MB
- WEB-INF/lib/icefaces-ee-ext.jar 62 kB
- WEB-INF/lib/icefaces-ee.jar 609 kB
- WEB-INF/lib/javax.faces.jar 2.52 MB
- WEB-INF/web.xml 2 kB
- index.xhtml 0.5 kB
- welcomeICEfaces.xhtml 2 kB
-
Hide
- Case12578Example.zip
- 21 kB
- Arran Mccullough
-
- Case12578Example/build.xml 3 kB
- Case12578Example/.../ant-deploy.xml 3 kB
- Case12578Example/.../build-impl.xml 77 kB
- Case12578Example/.../genfiles.properties 0.5 kB
- Case12578Example/.../private.properties 0.6 kB
- Case12578Example/nbproject/.../private.xml 0.2 kB
- Case12578Example/.../project.properties 5 kB
- Case12578Example/nbproject/project.xml 2 kB
- Case12578Example/src/conf/MANIFEST.MF 0.0 kB
- Case12578Example/src/.../example/Item.java 0.1 kB
- Case12578Example/src/.../TestBean.java 0.8 kB
- Case12578Example/web/index.xhtml 0.5 kB
- Case12578Example/web/.../context.xml 0.1 kB
- Case12578Example/web/WEB-INF/web.xml 2 kB
- Case12578Example/.../welcomeICEfaces.xhtml 2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Attached test case to reproduce issue. NOTE: the icefaces ace jar file needs to be added to run war file.
Steps:
- Load welcomeICEfaces.jsf
- Click the Continue button
- Confirmation dialog is shown.
- Clock the OK Button, dialog is hidden and processing dialog is shown. The server logs should show a comment "OK Action Called" but this is not the case.
Show
Arran Mccullough
added a comment - Attached test case to reproduce issue. NOTE: the icefaces ace jar file needs to be added to run war file.
Steps:
Load welcomeICEfaces.jsf
Click the Continue button
Confirmation dialog is shown.
Clock the OK Button, dialog is hidden and processing dialog is shown. The server logs should show a comment "OK Action Called" but this is not the case.
r39524: committed fix to 4.0 trunk
r39525: committed fix to 3.3 EE maintenance branch
For some unknown reason, calling the jQuery UI function jQuery.dialog('open'), inside the dialog component's show() function, was causing the button click event never to complete and thus no request was being sent to the server. This was fixed by putting the contents of the show function inside a timeout function with a minimal delay, just to allow the triggering event to complete quickly and perform the default action.