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

Enhance MessageResources to enable several definitions for the same ServletContext 
attribute key

           Summary: Enhance MessageResources to enable several definitions
                    for the same ServletContext attribute key
           Product: Struts
           Version: 1.1 RC1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


/**
 * Concrete subclass of <code>MessageResources</code> that implements a 
Composite Pattern
 * for registering several MessageResources objets under the same 
ServletContext attribute key.
 * <br>
 * This class is automatically used by <code>ActionServlet</code> for the cases 
where there are several <code>MessageResources</code> entries in the config file
 * with the default key (<code>org.apache.struts.action.MESSAGE</code>) or with 
the same key (bundle name).
 * <br>
 * This class delegates the searching of a text message to each children until 
one message is found.
 * <p>
 *
 * @author Guillaume Compagnon
 * @version 1.0
 */

so the struts-config.xml file is possible :

<!-- ================================ Message Resources Definitions -->
  <message-resources null="false" parameter="ressources.ApplicationResources" />
  <message-resources null="false" 
parameter="ressources.BankingMessageResources" />

and we ve got every messages from the 2 bundles.

ask me the source code.

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

Reply via email to