Hi,

If you just want messages for your service (as in messages defined in
MyService.properties) then, as nillihammer suggests, simply inject a
Messages object.

This is because Messages is actually an
org.apache.tapestry5.ioc.Messages and is defined and utilised by the
IOC layer. I believe Tapestry-Core extends the principle and provides
a chain of message objects beginning with the one defined for the
current Component / Page.

For which object do you need messages for?

Steve.
--
Steve Eynon
mobie: 0750 424 5743



On 24 August 2011 19:53, nillehammer <tapestry.nilleham...@winfonet.eu> wrote:
> The easiest way is to define your service methods with an additional Messages
> parameter. This way you can use the Messages within the service methods.
>
> -----
> http://www.winfonet.eu
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/component-scope-service-with-injected-messages-tp4724993p4730146.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