You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Sebastien Bahloul (JIRA)" <ji...@apache.org> on 2011/03/04 10:24:37 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=13002514#comment-13002514 ]
Sebastien Bahloul commented on TAP5-521:
----------------------------------------
I'm sorry, but I was unable to find the QueryParameter annotation (inside 5.2.4) and the client-side options. Can you just give a link to these new features ?
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira