Henning Nöth created TOBAGO-2420:
------------------------------------
Summary: Incorrect order for AJAX/submit
Key: TOBAGO-2420
URL: https://issues.apache.org/jira/browse/TOBAGO-2420
Project: MyFaces Tobago
Issue Type: Bug
Components: JavaScript
Affects Versions: 6.7.1, 5.15.1
Reporter: Henning Nöth
AJAX requests are processed in an asynchronous queue (faces.js). With the
current implementation in Tobago, there is an issue if two AJAX requests are
mixed with a form submit.
Example:
There is a component, which execute two AJAX requests when leaving (blur). And
there is a submit-button.
If the user has focused the component and then click (fast) the submit button,
AJAX/submit requests should be executed in the following order:
AJAX_1 (blur), AJAX_2 (blur), submit
But because of the asynchronous queue, it is: AJAX_1 (blur), submit, AJAX_2
(blur)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)