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

[]s

+ Samuel G. Mota
+ [EMAIL PROTECTED]
+ 55 (11) 4417 7093
+ Business Application Dpt.
+ Netset Serviços em Tecnologia
+ a Hypercom Company
+ http://www.hypercom.com



-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code4
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to