Does anyone ahve any examples of extending the PropertyMessageResources  and 
PropertyMessageResources Factory?


-----Original Message-----
From: Daniel Lipofsky [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 1:35 PM
To: Struts Users Mailing List
Cc: [EMAIL PROTECTED]
Subject: RE: Load message resources from DB???


Yes, just extend the PropertyMessageResources and overide the
loadLocale() method.  You should extend the factory too and specify
the new factory in struts-config.xml.  Add a method to clear
the cache in the PropertyMessageResources and clear it when the user
changes something.
- Dan

> -----Original Message-----
> From: Jason Long [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 14, 2005 11:21 PM
> To: 'Struts Users Mailing List'
> Subject: Load message resources from DB???
> 
> Is it possible to load the message resources from a database 
> instead of a
> file?  If so can this be done without reloading the entire 
> application?  I
> would like to let users manage these.
> 
> Thank you for your time, 
> 
> Jason Long
> CEO and Chief Software Engineer
> BS Physics, MS Chemical Engineering
> http://www.supernovasoftware.com


---------------------------------------------------------------------
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