You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2010/03/27 00:53:27 UTC

[jira] Closed: (TAP5-521) Support for adding parameters to event links with javascript

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

Howard M. Lewis Ship closed TAP5-521.
-------------------------------------

    Resolution: Invalid
      Assignee: Howard M. Lewis Ship

Starting in 5.2.0, there's new client-side options for Zones to send arbitrary parameters as part of the request, and a @QueryParameter annotation that can be used on the server side to get that same information.

> Support for adding parameters to event links with javascript
> ------------------------------------------------------------
>
>                 Key: TAP5-521
>                 URL: https://issues.apache.org/jira/browse/TAP5-521
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.0.18
>            Reporter: Inge Solvoll
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> A Tapestry.js hook into the parameters of event and action links would be very useful in order to create more powerful client side controls. As of now, I'm using  a function created by equanda that performs string transformations on a generated link. It works, but it would be so much cleaner and safer with a built-in function looking something like this:
> Tapestry.addEventLinkContextValue(link, value) {
>   link = link + '/' + value;
> }
> This is of course a simplified example that probably wouldn't work... :)
> Here are some use cases to make it clearer why I want this feature:
> 1. A dropdown that updates a zone through its onchange event, pushing the selected value into the context of the trigger link.
> 2. A textfield that works like an autocompleter on a connected zone. Same pattern, the entered text is pushed into the context of the trigger link.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.