DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27632>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27632 Message-resource for multiple modules Summary: Message-resource for multiple modules Product: Struts Version: 1.1 Final Platform: PC OS/Version: Windows XP Status: NEW Severity: Minor Priority: Other Component: Web Site AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Here is the case: One webapp with many modules, and each module has it's own struts-config- modulename.xml file, and it's own set of properties files. And a default struts-config.xml file for the whole webapp. Supposely, each module's properties files are config as <message-resources key="errors" parameter="xxx.module1.ErrorsResources"/> <message-resources key="messages" parameter="xxx.module1.MessagesResources"/> ... And when use in the application, <bean:message bundle="errors" key="some.key"/> However, that doesn't works, got an exception mentioned that the key can not be found with errors bundle when the bean:message is rendered. But, when I place the same configuration in the default struts-config.xml file, it works. The message key can be found with the errors bundle. I assume this might be a bug, since each module can have it's own set of message-resources. However, I do another test on it by config each module with only one message- resouce, and they are configed as the default with out a key value. And that seems to work. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]