Remove « Facelets « JSF Q&A

1. How can I remove HTML comments in my Facelets?

I would like to remove all HTML comments from my facelets before delivering to end users. Does any standard approach exist?

2. How to remove white spaces in JSF output?

Is it possible to configure JSF 2.0 to remove unnecessary white spaces between XHTML tags?

3. How can I dynamically add/remove CSS includes in head when using facelets?

Hi all, I was wondering if there is an easy way of adding/removing CSS includes in your html head when using the ui composition features of facelets? Because often when using facelets composition you include something in your html body which also needs additional css. And perhaps it would be best not to load a lot of unnecessary css files from ...