Search This Blog

Tuesday, November 13, 2018

FACELETS_SKIP_COMMENTS "trick" in NetBeans JSF project

When we create a JSF application in NetBeans, .FACELETS_SKIP_COMMENTS is
false.
This will execute those comments in your facelets.
If this is not what you want, set it to true in web.xml:
<context-param>
<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>