DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10279>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10279

only one message-resources is loaded.

           Summary: only one message-resources is loaded.
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I'm not quite sure if this is a bug or a feature.
When want to load two message-resources into one Application I do the following
in my struts-config:

  <message-resources
    parameter="ValidationResources"/>
  <message-resources
    parameter="ApplicationResources"/>

I expect that all Properties of both files are accessible in my Application
(Same if I specify two times the same key). But as I've seen in
org.apache.struts.action.ActionServlet.initApplicationMessageResources(ApplicationConfig
ac) the last message-resources entry overwrites all others.

I think it is quite useful to specifie several property resources if you use a
lot of code generation. (My ValidationResources are generated together with my
FormBeans).

Volker

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

Reply via email to