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

<bean:message> does not necessarily need to break when key not found

           Summary: <bean:message> does not necessarily need to break when
                    key not found
           Product: Struts
           Version: 0.5 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


It would be nice to add a "default" attribute containg a text to be displayed, 
if a dynamically created key fails to exist in the Applicationresources file

In this example ...

<% mykey = "country." + country; %>
<bean:message key="<%= myKey %>" default="<%country%>/>

...it would not throw an exception if the key fails to exist.

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

Reply via email to