Annotation to map query parameter to event handler method
---------------------------------------------------------
Key: TAPESTRY-2613
URL: https://issues.apache.org/jira/browse/TAPESTRY-2613
Project: Tapestry
Issue Type: New Feature
Components: tapestry-core
Affects Versions: 5.0.14
Reporter: Howard M. Lewis Ship
It would be nice, is some cases, to have Tapestry map query parameters to event
handler method parameters, rather than path info. This is typically about the
Ajax case, where it is more reliable (and easier) to take a URL and add query
parameters to it than it is to add extra path info.
public void onActionFromAjaxWidget(@QueryParameter("action") String
widgetAction, @QueryParameter("count") int count) { .... }
This does raise some tricky questions: i.e., what do you do when only some of
the parameters have @QueryParameter?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]