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!
Kind regards,
Jochen
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
I am not sure about Facelets, but the upcoming JSF 2.0 would support that kind of stuff by the new h:outputStyleSheet component.