Another possible option for you is to use the i18n tag in your JSP pages to put a specific bundle on the stack.
Cheers, Dick Zetterberg [EMAIL PROTECTED] ----- Original Message ----- From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2003 10:23 PM Subject: RE: [OS-webwork] Internacionalization logic > What you can do is create a parent class for your actions which extends from ActionSupport and tie the resource bundle to that class. You can create multiple of these parent classes to have different groupings of resources, etc... > > Jason > > > -----Original Message----- > > From: Samuel Mota [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, August 20, 2003 4:04 PM > > To: [EMAIL PROTECTED] > > Subject: [OS-webwork] Internacionalization logic > > > > > > Hi guys, > > > > I'm pretty new to Webwork but I'm with a design problem on > > the Internationalization system. > > > > The getText() function searchs my resource bundle file from > > the top class until the Object class, all actions (until now) > > are extending ActionSupport, so after search for my class > > name it'll search for my bundle on > > webwork.action.ActionSupport ... that's ok if, and only if, I > > want a resource bundle for each action (in this case the > > maintenance will be too hard) OR I want a global resource > > bundle called ActionSupport on a Webwork\Action tree and this > > solution isn't nice (a resource too big, not following my > > project's name convention, etc. etc. etc.) > > > > I'm wondering if is acceptable to add an optional property at > > the action description (as view and so > > on) to say which resource bundle is linked to that action ... > > IF there is no property set follow the actual logic but this > > way I could set a few resources for groups of actions close > > related and mantain my code/source/name convention. > > > > Someone agree? or disagree? > > > > Sorry if this is already possible somehow, but I really can't > > reach it... > > > > Ops ... WW 1 :) ... moving soon to WW2 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork