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

LookupDispatchAction multiple MessageResources

           Summary: LookupDispatchAction multiple MessageResources
           Product: Struts
           Version: 1.1 Beta 2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Standard Actions
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The current LookupDispatchAction in Beta 2 of Struts 1.1 doesn't support the 
use of multiple MessageResources defined in the struts-config.xml file.  I 
haven't been able to check if this problem has been fixed in Beta 3 as the 
source code wasn't available for this new beta version when I encountered this 
problem.  The LookupDispatchAction always asumes that there is only one default 
MessageResources defined under Action.MESSAGES_KEY.  The error occurs when you 
want to use submit buttons which are labelled with a message property which 
isn't defined under the default key named Action.MESSAGES_KEY but that is 
defined under another key defined by the user in the struts-config.xml.  There 
you can assign an own key with the bundle argument of the message-resources.  A 
possible solution is to iterate through all the defined message-resources.

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

Reply via email to