Re: Using a modules message-catalog in another module

2010-08-24 Thread Massimo Lusetti
On Sat, Aug 14, 2010 at 2:59 PM, Igor Drobiazko wrote: > In 5.1 it's not possible. As of 5.2 you can contribute a Resource from > context or classpath to the ComponentMessagesSource service: > >    public static void contributeComponentMessagesSource( >         �...@value("/foo/bar/baz.properties

Re: Using a modules message-catalog in another module

2010-08-14 Thread Alexander Muthmann
Ahh cool, that's what I was looking for! And another good argument for 5.2 ;) Thanks a lot! On 14.08.2010 14:59, Igor Drobiazko wrote: In 5.1 it's not possible. As of 5.2 you can contribute a Resource from context or classpath to the ComponentMessagesSource service: public static void c

Re: Using a modules message-catalog in another module

2010-08-14 Thread Igor Drobiazko
In 5.1 it's not possible. As of 5.2 you can contribute a Resource from context or classpath to the ComponentMessagesSource service: public static void contributeComponentMessagesSource( @Value("/foo/bar/baz.properties") Resource preappResource, OrderedConfiguration

Using a modules message-catalog in another module

2010-08-13 Thread Alexander Muthmann
Hi there, I'm currently developing a website which is extended by external modules. I have a top-menu which displays some basic classes and all registered classes provided by external modules. Now I have the following problem: Normally I would display a link with this code: ${message:mypage}