In Struts 1 I have an ability to substitute standard java.util.ResourceBundle 
using with my own class which extends 
org.apache.struts.util.MessageResourcesFactory. It was very useful if someone 
wants to get their translations from database instead of using simple property 
files. 
In struts-config.xml:
[b]
<init-param>
        <param-name>factory</param-name>
        <param-value>org.foo.MessageResourcesFactory</param-value>
</init-param>
[/b]

I understand that I can manage it with "properties as classes" as suggested in 
"WebWork in Action" book by Jason Carreira, but I consider it will be more 
flexible to give a framework this additional feature.

I also created a corresponding issue in Struts 2 JIRA: 
https://issues.apache.org/struts/browse/WW-1481
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=47469&messageID=95868#95868


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

Reply via email to