You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2013/11/18 11:19:38 UTC

[jira] [Updated] (TAP5-2224) t5/core/ajax should return a RequestWrapper

     [ https://issues.apache.org/jira/browse/TAP5-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Kemnade updated TAP5-2224:
---------------------------------

    Attachment: 0001-add-RequestWrapper-that-supports-aborting-an-ajax-re.patch

Support aborting ajax requests (currently only jQuery)

> t5/core/ajax should return a RequestWrapper
> -------------------------------------------
>
>                 Key: TAP5-2224
>                 URL: https://issues.apache.org/jira/browse/TAP5-2224
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>              Labels: ajax
>         Attachments: 0001-add-RequestWrapper-that-supports-aborting-an-ajax-re.patch
>
>
> Currently, {{t5/core/ajax}} (which delegates to {{t5/core/dom/ajaxRequest}}) returns {{t5/core/dom/wrapElement}} (due to the {{return exports}} line in {{t5-core-dom.coffee}}.
> The return type should be a wrapper around jQuery's jqXHR and Prototype's {{Ajax.Request}}.
> My use case is that I want to be able to abort a running Ajax request.



--
This message was sent by Atlassian JIRA
(v6.1#6144)