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=6646>.
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=6646

Problem in ConfigRuleSet.java in Nightly Build for 1.1

           Summary: Problem in ConfigRuleSet.java in Nightly Build for 1.1
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I've been working on getting everything working on 1.1 and I think I found 
something wrong in the ConfigRuleSet as it relates to the message-resources 
element. Here is a section of the file starting around line 245:

digester.addSetNext
("struts-config/messageResources",
"setMessageResourcesConfig",
"org.apache.struts.config.MessageResourcesConfig");

I think there are two problems with this. First, shouldn't messageResources be 
message-resources and second, there is no method called 
setMessageResourcesConfig on the ApplicationConfig class that I can see. It's 
called addMessageResourcesConfig, since it can take multiple message resource 
config objects. When I change these two things and recompile, everything works 
like it should. If I don't make these changes, the parameter value that I 
specify in the message-resource element never gets put into the 
MessageResourcesConfig object. 

Chuck Cavaness

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

Reply via email to