header « Facelets « JSF Q&A





1. JSF, override HTTP headers    stackoverflow.com

I strongly need to override JSF 2.0 Content-Type header. Default it is

Content-Type:application/xhtml+xml; charset=UTF-8
But I need
Content-Type:text/html; charset=UTF-8
Thanks.

2. JSF with Facelets - Using "h:commandLink" inside header of the layout    coderanch.com

Hi! I recently added facelets ability to my web app based on JSF I have added a header.xhtml so it will be displayed on top of each page... now i want to add a link inside the header, link which will take the user to the "Home" of the webapp, something like this: