This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Outputting HTML to a JSF Page  RSS feed

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am retrieving the following HTML Code from the Database and I am attempting to display it on a page, but its not displaying properly, This is the HTML Code



and this is the outputformat I am using to display the HTML Code



Instead of displaying

* Design,coding, and testing of company's


it just displays

Design,coding, and testing of company's

Any suggestions would be appreciated (Is there any component i can use to display HTML that is better than outputFormat
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mixing HTML and JSF has all sorts of "gotchas". You can probably get better results using a styleClass on the outputText control instead of using HTML.

If you can't you'll probably need to wrap the html in "verbatim" JSF tags.

When in doubt, use your browser's View Page Source feature to see what the JSF renderer has produced.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!