[
https://issues.apache.org/jira/browse/TOBAGO-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bernd Bohmann resolved TOBAGO-303.
----------------------------------
Resolution: Fixed
> Ajax reloads stopped when submitting non-JSF request
> ----------------------------------------------------
>
> Key: TOBAGO-303
> URL: https://issues.apache.org/jira/browse/TOBAGO-303
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Themes
> Reporter: Dennis Hauser
> Assigned To: Bernd Bohmann
> Fix For: 1.0.10
>
>
> After pressing a button with attribute transition="false", ajax reloads quit
> working:
> reload sheet with action "page:messages" <-- working ajax request
> Current ActionId = null action= page:messages
> Execute request!
> skip update response status 304
> Request complete! Queue size : 0
> skip setup
> reload sheet with action "page:messages" <-- working ajax request
> Current ActionId = null action= page:messages
> Execute request!
> skip update response status 304
> Request complete! Queue size : 0
> skip setup
> transition =false
> Execute request!
> request removed :function () { if (!this.isSubmit) { this.isSubmit = true;
> var req = Tobago.Transport.requests.shift(); LOG.debug("request removed :" +
> req.toString()); var oldAction = Tobago.action.value; var oldTarget =
> Tobago.form.target; Tobago.action.value = actionId; if (target) {
> Tobago.form.target = target; } Tobago.onSubmit(); Tobago.form.submit();
> Tobago.action.value = oldAction; if (target) { Tobago.form.target =
> oldTarget; } if (target || !transition) { this.isSubmit = false; }
> Tobago.onBeforeUnload(transition, target); } } <-- non JSF submit
> reload sheet with action "page:messages" <-- stucked ajax request
> (no log messages follow)
> the same happens, when you set transition to true but do not provide a faces
> response, it's not an issue of the transition attribute
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.