Em Tue, 05 Jan 2010 16:33:46 -0200, Stephan Schwab <s...@caimito.net> escreveu:

Thiago,

Hi!

I tried that but now I cannot switch languages any more. By switching I mean through a component that sets the PersistentLocale.

I've never tested disabling the locale encoded into path myself.

After setting SymbolConstants.ENCODE_LOCALE_INTO_PATH to false the locale
doesn't get encoded in the path anymore and apparently that is some kind of a requirement for the PersistentLocale thing to work.
Might that be a bug? I've created TAP5-972.

I guess it isn't a bug because it's exactly how it works. I would try to override the PersistentLocale service with an implementation that uses cookies, just as it was before 5.1

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to