You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Thiago Henrique De Paula Figueiredo (Jira)" <ji...@apache.org> on 2020/02/11 20:19:00 UTC
[jira] [Updated] (TAP5-2225) Create client-side API to call a
component's event handler methods
[ https://issues.apache.org/jira/browse/TAP5-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiago Henrique De Paula Figueiredo updated TAP5-2225:
------------------------------------------------------
Fix Version/s: (was: 5.5.0)
> 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
> Assignee: Thiago Henrique De Paula Figueiredo
> Priority: Major
> Labels: ajax, event, handler, javascript
> Fix For: 5.4.2
>
>
> 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
(v8.3.4#803005)