Em Tue, 24 Nov 2009 04:31:32 -0200, Alfonso Quiroga
<alfonsose...@gmail.com> escreveu:
Hi, is there a way to change the parameters of a service "invocation"?
I have the T5Invocation, the java Method.. I saw that invocation has
the real values inside (p0, p1.. fields). I can access them via
reflection (brute force), maybe something more adecuate? thanks in
advance
Take a look at
http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html, specially
the Invocation interface.
To override a parameter, just invoke Invocation's override(int index,
Object newParameter). No need for reflection, even because it doesn't
provide the parameter values, just their types.
--
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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org