Sunday, November 8, 2009

Automatically remove HTML remarks with Facelets

If you are working with Facelets, you can easily remove all you HTML remarks on the resulted page, by simply adding this directive in your web.xml:

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

No comments:

Post a Comment