You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/04/02 21:59:42 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15952867#comment-15952867 ] 

ASF subversion and git services commented on TAP5-2225:
-------------------------------------------------------

Commit c8e8fd6d206352dbb91d684a9251dd036efd1fe7 in tapestry-5's branch refs/heads/5.4.x from [~thiagohp]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=c8e8fd6 ]

TAP5-2225: fixing getEventUrl and improving @PublishEvent JavaDoc

> 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 H. de Paula Figueiredo
>              Labels: ajax, event, handler, javascript
>             Fix For: 5.5.0, 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
(v6.3.15#6346)