How do I add HTML code to JSF FacesMessage
In theory, you want an escape attribute for the h:messages component like the h:outputText has. You’re not the only one who wants this, this is requested before more than often, but it’s a WONTFIX according the JSF guys. You have several options: Use \n instead of <br> and apply CSS accordingly (easiest). #messages td { … Read more