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/19 11:07:22 UTC

[jira] [Created] (TAP5-2225) Create client-side API to call a component's event handler methods

Jochen Kemnade created TAP5-2225:
------------------------------------

             Summary: Create client-side API to call a component's event handler methods
                 Key: TAP5-2225
                 URL: https://issues.apache.org/jira/browse/TAP5-2225
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.4
            Reporter: Jochen Kemnade


It should be possible to create URLs for components' event handlers on the client side.
There could be a function that mirrors the behavior of ComponentResources#createEventLink. It might be passed an event name or an object with additional information such as a page name, a request context, or additional request parameters.
The function could either return the URL or a function that makes an XHR and passes the response to a callback.



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