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]

Reply via email to