Do you mean I should do the following:

public Object doSomethingUseful(Object someParameter, Messages messages)
{...}

and thereby call:

<t:output value="myService.doSomethingUseful(something,message)" ... />

for example?

On 30/08/2011 10:14 AM, nillehammer wrote:
Don't inject it in the constructor. That isn't possible. Define the Messages
as an (additional) parameter to your service method. (This is sometimes
referred to as method-Injection, a misleading term in my humble opinion).

-----
http://www.winfonet.eu
--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/component-scope-service-with-injected-messages-tp4724993p4748239.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to