I use JBossPortal 2.4.0 bundled.
I have problems to set header content programatically. I need to do it this way as my css is dynamically set for each user.
So I tried to use this way I found on this site :
<script> ... </script>
<!-- insert header content that was possibly set by portlets on the page --> </head>
<head> <title><JBoss Portal 2.2 early</title> <meta http-equiv="Content-Type" content="text/html;" /> <p:headerContent /> </head>
I wanted to say I avoid
<body>, <html> or <head>tags in my generated html.