Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I get pretty-formatted HTML output from Myfaces?

html MyFaces output
0
Posted

How can I get pretty-formatted HTML output from Myfaces?

0

The JTidy project provides a Servlet Filter that reformats response messages before they are sent out. The Mozilla Firefox web browser has an optional extension ” View Formatted Source” which allows developers to see source correctly formatted without any changes at the server end. In some versions of MyFaces there is a context param “org.apache.myfaces.PRETTY_HTML” that can be specified in the web.xml to enable pretty output. However this option was never well supported as it requires support from every renderer in order to work. This feature may be removed from future versions of MyFaces.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123