Attention: This component is still under progress and experimental.

b:prettyprint The print tag renders an HTML element of the type "div" with included "pre".

See Google documentation for detailed information.

Tag attributes
rendered
language
Rendered output
            <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:b="http://butterfaces.org/components">
<h:head />
<body>
   <form>
      Hello World!
   </form>
</body>
</html>
        
                            <!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:h="http://xmlns.jcp.org/jsf/html" 
      xmlns:f="http://xmlns.jcp.org/jsf/core" 
      xmlns:b="http://butterfaces.org/components"> 
<h:head /> 
<body>

        <b:prettyprint id="pretty"
                       language="lang-html"
                       rendered="true">
           #{myBean.htmlContent}
        </b:prettyprint>

</body> 
</html>