Re: t5 localization

2009-10-03 Thread jimmyblue
hi, looks like, the space before the comma was the problem. without the comma it works. i thought, i tried it without the comma... anyway, it works now. thank you Howard Lewis Ship wrote: > > Perhaps the Tapestry code is broken and the space before the comma is a > problem. > > On Sat, Oct 3,

Re: t5 localization

2009-10-03 Thread Howard Lewis Ship
Perhaps the Tapestry code is broken and the space before the comma is a problem. On Sat, Oct 3, 2009 at 8:21 AM, jimmyblue wrote: > > Thanks for the quick response, howard. > > unfortunately, I already added de in the AppModule > > configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en, de"); >

Re: t5 localization

2009-10-03 Thread jimmyblue
Thanks for the quick response, howard. unfortunately, I already added de in the AppModule configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en, de"); or do you mean something different by TapestryModule? thanks Howard Lewis Ship wrote: > > If you are working from the Quickstart Archetyp

Re: t5 localization

2009-10-03 Thread Howard Lewis Ship
If you are working from the Quickstart Archetype, it limits you to english only. Update TapestryModule, you'll see where that's configured, and add "de" to the list. On Sat, Oct 3, 2009 at 7:41 AM, jimmyblue wrote: > > hi, > > i'm quite new to tapestry. until now, everything just worked fine, bu

Re: [T5] Localization problem (PageTester) on Linux

2008-11-30 Thread Daniel Kleine-Albers
Hi guys, solved it myself. I had the appName for the PageTester as "App". After changing it to "app" everything works as expected on both platforms. However I wonder if this is a bug (as Mac OS X is case-sensitive as well) or if this is the expected behaviour? Thanks, Daniel On 30.11.2

Re: T5 : localization problem

2008-10-22 Thread Stephane Decleire
Thanks Tiago Really strange component behavior since it's in total contradiction with the framework spirit : "Designers love it because Tapestry templates are so close to ordinary HTML, without all the cruft and confusion seen in JavaServer Pages." "The goal in Tapestry is for component templ

Re: T5 : localization problem

2008-10-22 Thread Thiago H. de Paula Figueiredo
Em Wed, 22 Oct 2008 06:54:33 -0300, Stephane Decleire <[EMAIL PROTECTED]> escreveu: But with the following piece of code, the result is the hardcoded "Firstname" string. Localization of the string did not occured ... Firstname This is how the Label component works: if you provide a body, it

Re: T5 : localization in ComponentClassTransformWorker

2008-10-17 Thread Stephane Decleire
I've already tried to inject the ComponentResources into my class without success :-( public static void contributeComponentClassTransformWorker(OrderedConfiguration configuration, PropertyAccess propertyAccess, ComponentResources componentResources) { configuration.add("InjectSelectio

Re: T5 : localization in ComponentClassTransformWorker

2008-10-17 Thread Stephane Decleire
I've already tried to inject the ComponentResources into my class without success :-( public static void contributeComponentClassTransformWorker(OrderedConfiguration configuration, PropertyAccess propertyAccess, ComponentResources componentResources) { Caused by: java.lang.RuntimeException:

Re: T5 : localization in ComponentClassTransformWorker

2008-10-16 Thread Howard Lewis Ship
Classes are non-localized. However, you can write code that can access the current Locale or localed Messages object via the ComponentResources object injected into each class. On Thu, Oct 16, 2008 at 2:48 PM, Stephane Decleire <[EMAIL PROTECTED]> wrote: > Hi everybody, > > Is there a way to use

Re: T5 - Localization and Templating Questions

2008-10-08 Thread Tobias Wehrum
Hi there, a late answer, but maybe good to have in the archive when somebody browses it: 1) You can use the method getMessages() of the service ComponentResources to get the message bundle of the Template. - Tobias Filip S. Adamsen schrieb: Hi, Welcome to the list. :) Regarding your que

Re: T5 - Localization and Templating Questions

2008-06-11 Thread Filip S. Adamsen
Hi, Welcome to the list. :) Regarding your questions: 1) There's no way to localize page classes. Why do you need this? 2) For overriding internal services - if you must - you can probably use an Alias: http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html. 3) No, there's no

Re: T5 : Localization of input validation

2007-10-31 Thread Nick Westgate
Or just look on the wiki: http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner Cheers, Nick. Marcus wrote: Hi Stephane, search this forum for "*T5 How to Override the default banner message" * Marcus

Re: T5 : Localization of input validation

2007-10-31 Thread Marcus
Hi Stephane, search this forum for "*T5 How to Override the default banner message" * Marcus

Re: [T5] Localization and application message catalog

2007-10-29 Thread Olof Næssén
I'm facing the exact same problem. I have a WEB-INF/AppName.properties properties file that works fine, but as soon as I localise it - for example renaming it to WEB-INF/AppName_sv.properties - it's not found or not used and I end up with missing messages. Is this a bug? I'm using 5.0.6 by the wa

RE: [T5] Localization

2007-08-28 Thread Doug Hauge
t; From: Massimo Lusetti [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 28, 2007 2:32 PM > To: Tapestry users > Subject: Re: [T5] Localization > > On 8/28/07, Christoph Jaeger <[EMAIL PROTECTED]> wrote: > > > If not, does this seem difficult to implement? > >

Re: [T5] Localization

2007-08-28 Thread Massimo Lusetti
On 8/28/07, Christoph Jaeger <[EMAIL PROTECTED]> wrote: > If not, does this seem difficult to implement? Using normal ResourceBundle features? And doing that inside javacode where logic belongs? -- Massimo http://meridio.blogspot.com

Re: [T5] Localization and application message catalog

2007-08-27 Thread Nick Westgate
It works fine for me using the following files/code: app_ja.properties app_en.properties AppModule.java: configuration.add("tapestry.supported-locales", "en,ja"); Page.html: Japanese English Page.java: @Inject private PersistentLocale persistentLocaleService; ... voi

Re: [T5] Localization and application message catalog

2007-08-25 Thread matt22
I have similar problem. I set locale in _persistentLocale, and cookie saved correctly, but no more... Injectes locale=en always Any idea? Janko Muzykant wrote: > > hi there, i tried to localize my application putting all messages into 3 > global resource files: > > WEB-INF/app.properties [Eng