Oy.

I'm assuming that you're talking about the loadLocale() method within...

org.apache.struts.util.PropertyMessageResources 

I see that inheritance wise,

1. PropertyMessageResources  extends  MessageResources
2. PropertyMessageResourcesFactory extends MessageResourcesFactory

Logical.

So, I'll create

1. DatabaseMessageResources  extends  MessageResources
2. DatabaseMessageResourcesFactory extends MessageResourcesFactory

Questions
1. should I create them in the org.apache.struts.util. package?
mucking with struts seems risky
2. how do I tell the application to use MY
DatabaseMessageResourcesFactory  and DatabaseMessageResources  
instead of PropertyMessageResourcesFactory and
PropertyMessageResources

What about my idea of just letting the whole thing run notmally then
replacing the resulting collection with a NEW collection... The
benefit there is I dont have to touch Struts at all, which, I'll be
honest.. I REALLY dont want to.

what I guess I'm looking at is somehow replacing that hashpamp of
messages.... with my OWN messages.....

whaddya think?

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

Reply via email to