Re: T5 : Expanding Messages Catalog for localization from arbitrary source

2008-08-26 Thread Hannes Heijkenskjöld
, both were null. But what your saying is that these objects are not possible to inject in this scope, but RequestGlobals is, so the following will work? @Inject private RequestGlobals requestGlobals Regards Inge On Mon, Aug 25, 2008 at 3:57 PM, Hannes Heijkenskjöld [EMAIL PROTECTED] wrote: Hi

Re: T5 : Expanding Messages Catalog for localization from arbitrary source

2008-08-25 Thread Hannes Heijkenskjöld
the current user session available to my AbstractMessages implementation? Regards Inge On Wed, Apr 16, 2008 at 10:22 AM, Hannes Heijkenskjöld [EMAIL PROTECTED] wrote: Great! Glad I could help you. :-) /Hannes Michael Capper skrev: Thanks Hannes! I tried the route with the Decorator once

Re: T5 : Expanding Messages Catalog for localization from arbitrary source

2008-04-16 Thread Hannes Heijkenskjöld
Services (AssetSource to get the URLs, my ProjectContextProvider to get the ResourceBundles for my text) into the build-Method in AppModule, then i could return the value for a Message-Key from the bundles, or if not existant, from the fallbackMessages. Cheers, Mike Hannes Heijkenskjöld wrote: Hi I

Re: T5 : Expanding Messages Catalog for localization from arbitrary source

2008-04-10 Thread Hannes Heijkenskjöld
Hi I have recently wondered about the same, and have now built something that after much trial and error now works. Basically, I have created a Messages implementation that wraps both a tapestry Messages object and our own database messages. If a message is not found in our database, the