On Wed, 22 Jun 2011 10:12:45 -0300, dkeenan <david_siedle...@yahoo.co.uk> wrote:

Hi there.

Hi!

When using localization to display different template files based on the locale, it seems to ad the locale to the URL. Is that normal
behaviour?

Yes.

If I set the locale to French, and go to the homepage, if goes to URL
/fr/Home rather than /Home. The problems is that may page uses relative CSS paths which mean it doesn't display correctly. If I want to share css files between 2 different templates in this case, it gets a little messy. Does it look like Ive done something wrong?

Use ${context:path/to/file.css} or ${classpath:path/to/file.css} and let Tapestry take care of paths.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, 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