Well, inside the HiveMind registry, HiveMind is injecting your module's
Messages object into your service implementation.  So, if you have a
hivemodule.properties file next to your hivemodule.xml file, it will get the
messages from there.  

There is another option.  Since there is a service point implementing
IRequestCycle, you can inject that instead and do:

requestCycle.getPage().getMessages().getMessage( "message_key" )

That way, you could also override the message for individual pages if you
wanted.


-----Original Message-----
From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of
Andreas Bulling
Sent: Monday, May 01, 2006 2:30 PM
To: Tapestry users
Subject: Re: Localized messages in service

On 01. Mai 2006 - 14:26:25, James Carman wrote:
| What file are you expecting it to read those message definitions from?

>From my_application.properties?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to