I believe you should be able to do this already, since you can define
different factories for different bundles. So you could have your regular
standard properties files, but then define a DB bundle with your own factory
as well.

Something like this in the struts-config.xml....

<message-resources parameter="myPackage.ApllicationResources" />
<message-resources key="dbBundle"factory="myPackage.MyDbResourcesFactory" />

Then you use the "bundle" attribute on the JSP tags to use your custom db
bundle...

  <bean:message key="something" bundle="dbBundle" />

Niall

----- Original Message ----- 
From: "Dave Newton" <[EMAIL PROTECTED]>
Sent: Wednesday, April 06, 2005 5:23 PM

> What _I'm_ interested in is the same but different: I have a need for
> dynamic resources that would come from a database table in _addition_ to
> the existing resources in a regular property file.
>
> Could your code be modified for something like that? I ahven't had a
> chance to see how this works, if its possible, etc. (It all boils down
> to a need to have classes be able to add ActionErrors (yeah, yeah,
> ActionMessages) during form processing, but without having to have
> access to any property files.)
>
> Dave



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

Reply via email to