Hmm, I have put HiveMind in shared libs and Tapestry in WEB-INF/lib.

Is that the explanation? Two different classloaders, so HiveMind won't find a resource in the Tapestry jar ?

Henrik
----- Original Message ----- From: "devel - Fashion Content" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, July 15, 2006 6:34 PM
Subject: RE: making MessageFormatter behave


Somehow ResourceBundle don't seem to be working properly. I am using JDK1.5.0 on a danish Windows XP install.

I even tried to make a ContextListener that calls Locale.setDefault(new Locale("en","UK")); but it doesn't seem to make any difference.

The default properties are still not being used.

Any suggestions?

Henrik
----- Original Message ----- From: "devel - Fashion Content" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, July 15, 2006 6:07 PM
Subject: getting MessageFormatter to behave


Tapestry uses the MessageFormatter for logging. When I run the app locally MessageFormatter tries to fetch messages in da_DK locale, for which messages
haven't been defined. Is there a way to get MessageFormatter to use the
default properties file?

Henrik






Reply via email to