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

Add constructor for ActionError to take Object[] for parameters

           Summary: Add constructor for ActionError to take Object[] for
                    parameters
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Standard Actions
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the current version of ActionError, the constructors take a key and up to 
four objects that are used as substitution parameters in the message specified 
in the resource bundle. I think a constructor should be added that takes an 
Object[] so that if you have more than four, the ActionError class can support 
it. Even if you don't plan to use all of the parameters in the Object[] for the 
message, you can do something like:

The date field {0} must fall between {2} and {4}.

Notice that the parameters 1 and 3 are not used in this message, but may be by 
other clients, such as ERP systems.

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

Reply via email to