JSF addMessage() function auto format the message in properties
I have a problem to print a message on my browser from JSF.
I use the function facesContext.addMessage to put a facesMessage in the message queue that will be displayed thanks to the <h:messages> tag in the JSF page.
The problem is in the function addMessage, I give to it a message present in the propertie file...so I the call to this function like follows :
addMessage("resources.texts",
"text.actionlistener_events_jsp.msg_info1", null,
FacesMessage.SEVERITY_ERROR.toString());
The message in the propertie file is :
<i>ActionListener</i>
So that the word appears in italic.
And it is not the case !!! because the addMessage function format the message in HTML code ... so the '<' becomes < in the message and so the browser has a < in the resulting HTML code. I don't want that the function format the '<' but "give it" to the browser like it ! How do we do then ? Thanks.

