Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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?
Similar Threads
Form Level Error Messages In JSF
How can I optimize this for JSF?
Displaying FacesMessage when a RemoteException or SOAPException occurs
Newbie question on resubmit of page not executing bean
question on datetime converter and validation of a datetime field