Yeah,
a ServletContextListener works fine :)
-----Mensagem original-----
De: Jason Carreira [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 7 de outubro de 2003 22:06
Para: [EMAIL PROTECTED]
Assunto: RE: [OS-webwork] single i18n catalog for multiple actions?
De: Jason Carreira [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 7 de outubro de 2003 22:06
Para: [EMAIL PROTECTED]
Assunto: RE: [OS-webwork] single i18n catalog for multiple actions?
I
would probably do it in a servlet init or a
ServletContextListener
-----Original Message-----
From: Drew McAuliffe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 7:21 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] single i18n catalog for multiple actions?Where would one add a call to "addDefaultResourceBundle"? In the servlet init? Or is there a more "webwork-friendly" place to do it, like in some sort of filter init or an application scoped component?-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Carreira
Sent: Tuesday, October 07, 2003 2:09 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] single i18n catalog for multiple actions?Create a parent class and associate the messages with that parent class... or use the LocalizedTextUtils.addDefaultResourceBundle()-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 5:06 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] single i18n catalog for multiple actions?Hi all :)
Is there a simple way to maintain a single catalog of i18n .properties files? I got a lot of duplicated messages (well, most of them are duplicates), so I would like to keep them all under, I don't know, application.properties. The wiki seems to be offline, so I can't look it up now, but is that possible?
Peace,
-cv