This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


JavaRanch » Java Forums » Java » JSF
Bookmark "HTML in FacesMessage?" Watch "HTML in FacesMessage?" New topic
Author

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: http://aspose.com/file-tools
 
subject: HTML in FacesMessage?