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

bean:message bug

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-07-30 03:36 -------
This isn't a bug. Recall that the <bean:message> tag allows you to define 
arguments to be inserted into the string. The formatting uses the standard 
technique of placeholders in the message - for example "One {0} Three", where 
the 0 in braces is the placeholder.

The opening brace in your message text is being interpreted as the start of a 
placeholder. Since that is not what you want, you need to escape the opening 
brace like this:

label.test=Hello \\{

The double backslash is needed because that will be read from the properties 
file as a single backslash, which will then escape the opening brace in the 
call to format the message.

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

Reply via email to