are you sure tapestry uses your engine's class?

best s to set the application-specification's engine-class attribute...

Cheers,
Ron


Bondarenko, Oleg wrote:
Ron, thanks for answering, but...

Can you maybe give an exact link?
AHHH - OK, got it, it's under TipsAndTricks!

Will try it right now....


Doesn't work!

Although the engine's locale gets set correctly, the page's locale gets the 
wrong value (why???)!

Ok, I override the page method setLocale too, and it seems to work now.

Seems very much like a hack actually. Hopefully there will be a clean way in a future version.
Also the fact that I have to have two versions of my first application page 
(LoginDE and LoginEN for German and English respectively) is not good.


Thanks all the same.

Oleg
-----Ursprüngliche Nachricht-----
Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Ron Piterman
Gesendet: Montag, 29. Mai 2006 12:07
An: users@tapestry.apache.org
Betreff: Re: how to force initial Locale

take a look at the wiki: tapestry 4 -> how tos

Cheers,
Ron


Bondarenko, Oleg wrote:
I would like to force my first page to be in a specified locale (say GERMAN). How to do it?
I tried to override Engine and set the its locale to Locale.GERMAN in its 
constructor. But if the first incoming request has a different locale (say 
ENGLISH), then my setting gets ignored (overridden later by Tapestry). What is 
the right way to init engine locale?

TIA

Oleg




------------------------------------------------------------------------

---------------------------------------------------------------------
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]


---------------------------------------------------------------------
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