You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Enrique Medina <e....@gmail.com> on 2005/03/29 12:24:18 UTC

HTML code inside a message from a ResourceBundle

Hi,

Is there any way to escape HTML code using the <h:message> tag?

Suppose I have the following message from a ResourceBundle:

message1 = Press the <a href="somePage.jsf"> link </a> to go to the right page.

and then I use the messages tag:

<h:messages value="#{messagesBundle.message1}" />

but the literal string gets showed :-(

Any ideas?