Title: Message
Agreed. This is a huge help for me on a project that migrated from Struts. I've got one big properties file, and now I can easily shift it over to webwork. Thanks, webwork!


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Lightbody
Sent: Wednesday, October 08, 2003 10:41 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] single i18n catalog for multiple actions?

This is a great tip – I was planning on overriding getText() and having my own ActionSupport. I like this better! J

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Carreira
Sent: Tuesday, October 07, 2003 6:06 PM
To: [EMAIL PROTECTED]
Subject: 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

Reply via email to