File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes HTML in FacesMessage? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "HTML in FacesMessage?" Watch "HTML in FacesMessage?" New topic

HTML in FacesMessage?

Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
I would like to include html links within the error messages displayed on my jsf page.

i tried

But h:message tag doesn't seem to allow you to escape HTML.

Just wondering whether any workaround is available for this issue?

Any tip on this would be much appreciated.

MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
You despitely cannot. Use hutputText or write a new component based on UIMessage or UIMessages.
[ October 11, 2006: Message edited by: Bauke Scholtz ]
I agree. Here's the link:
subject: HTML in FacesMessage?
It's not a secret anymore!