You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2011/07/27 19:18:09 UTC

[jira] [Commented] (TAP5-1592) Provide public getter for the map of initilizer calls of the JavaScriptSupportImpl class

    [ https://issues.apache.org/jira/browse/TAP5-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071862#comment-13071862 ] 

Howard M. Lewis Ship commented on TAP5-1592:
--------------------------------------------

I see this as a non-starter that adds complexity, as Thiago has noted on the mailing list.  If this is important to you, feel free to create a subclass or copy-and-paste AjaxFormLoop. There's nothing sacrosanct about Tapestry's built in components, and is nearly all cases, they don't use any internal APIs either.

> Provide public getter for the map of initilizer calls of the JavaScriptSupportImpl class
> ----------------------------------------------------------------------------------------
>
>                 Key: TAP5-1592
>                 URL: https://issues.apache.org/jira/browse/TAP5-1592
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Markus Jung
>            Priority: Trivial
>              Labels: javascript
>         Attachments: jssupport.diff
>
>
> The AjaxFormLoop component stores the links in the intitializer call map. In order to modify them in a mixin in the afterRender phase, a public getter for the JavaScriptSupport interface and the JavaScriptSupportImpl class is required.
> I need this feature for the cross-site request forgery protection, where I use a mixin to add a token to the rendered event links.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira