Jan 242013
 

In web.xml, set “facelets.SKIP_COMMENTS” parameter to “true“.

<context-param>
    <param-name>facelets.SKIP_COMMENTS</param-name>
    <param-value>true</param-value>
</context-param>

Now, JSF removes anything in the page that is contained in <!– –>.

 

Alternately, see http://www.roseindia.net/jsf/remove.shtml

to do it this way:

try <ui:remove>This line will be removed</ui:remove>

 Posted by at 3:37 pm