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 your html head.
All comments welcome!
posted 8 years ago
I am not sure about Facelets, but the upcoming JSF 2.0 would support that kind of stuff by the new h:outputStyleSheet component.