so you can't do something like 

my.message=this part not bold <b> this part bold</b> this part not bold ...

can you do it with the fmt tag?



-----Original Message-----
From: David Adelson [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 29, 2004 7:56 PM
To: Struts Users Mailing List
Subject: RE: is there any way to include HTML in message properties
file?


If its just for messages,
We do the following
This defines the header and footer for a message, IE, we set
the color and an unordered list

<!-- error HTML header and footer (note: errors. is required by struts) -->
errors.header=<p align="center"><b><font color="red">System
Message</b><br><ul>
errors.footer=</ul></font>

Then each message is done as:
validation.city=<li><p align="center">City cannot be empty</li>

I would think just doing:
key.name= <b> my message in bold </b> 
would work??

but what I have shown you above works for us




-----Original Message-----
From: Menke, John [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 29, 2004 7:49 PM
To: Struts (E-mail)
Subject: is there any way to include HTML in message properties file?


I would like to do something like this:

key.name= <b> my message in bold </b>

is there any way to get the messages tag to output escaped hmtl?

-john


---------------------------------------------------------------------
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]

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

Reply via email to