On Mon, 15 Feb 2010 05:54:25 -0200, Massimo Lusetti <[email protected]> wrote:

On Sun, Feb 14, 2010 at 5:21 PM, Howard Lewis Ship <[email protected]> wrote:

And, BTW, once I get all the new class transformation APIs settled
out, it will be easy to add the logic to inject an event handler
method with a query parameter rather than event context.

Really?! Well this would be a great plus for us using T5 to serve some
sort of "business service through" http... great!

This would be very nice for custom components using JavaScript to send information. Using the context is difficult, so I end up using query parameters. We could have something like a @QueryParameter annotation in event handler method parameters that internally uses TypeCoercer to coerce the query parameter to the parameter type.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to