Extend the factory as well, and specify that in the struts-config.xml

--
James Mitchell
EdgeTech, Inc.
http://edgetechservices.net/
678.910.8017
Skype: jmitchtx




On Mar 15, 2006, at 1:41 PM, Mulligan, Scott H wrote:

I need to customize the order in which resource bundles are read for messages. Specifically, I have default bundles for groups to which a country belongs. First I search the bundle for the language/ country (fr_FR). If I can't find the property, I want to search the group resource bundles to which France belongs (there can be multiple - i.e. fr_Group1, fr_Group2). After that I would look in the bundle for the language (fr) and the default bundle.

My research shows I need to extend the PropertyMessageResources class. How can I indicate to Struts objects that they should use my class instead of PropertyMessageResources?

Thanks,
Scott Mulligan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to