Hi!


Try to do the bean:write like this

<bean:write filter="false" name="msg" />

The filter="false" tells it to not replace special characters to entities.

Regards
Mikael


At 17:04 2003-08-25 -0400, you wrote:
Hi,

I am wondering if html tags, such as <br>, be used in the message
resource bundle keys? I want to have some formatting for an
ActionMessage, similar to what one gets using the ActionErrors and the
errors.prefix, errors.header and errors.footer keys (by default = <BR>,
<UL>, </UL> respectively).

When I create a message key in my resource bundle, such as
messages.warning.general=Warning,the following problem occurred <BR> {0}

and use the following type of tag to display the message:
         <html:messages message ="true" property="warning" id="msg">
               <li><bean:write name="msg"/>
         </html:messages>


I get the following in the html source: <li>Warning,the following problem occurred:&lt;BR&gt; access problem

What I want is the following:
<li>Warning,the following problem occurred:<BR> access problem

Thanks,
Nancy


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



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



Reply via email to