<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Once again, I'm reviving an older thread. So glad to be able to post again! :-)</div><div><br></div>When running in a portlet environment, it is forbidden for a JSF portlet to render tags like <head> and <body>. Tags like that are controlled by the portlet container, when aggregating portlet fragments into a complete HTML document.<div><br></div><div>So I think it would be better to have the page author to explicitly specify h:head and h:body. If they specify plain old <head> and <body> then the portlet container will likely strip them out. Currently, we can override the renderers for h:head and h:body in a portlet bridge in order to have them not render those tags.</div><div><br></div><div>Neil<br><div><br><div><div>On Dec 15, 2009, at 3:04 PM, Lincoln Baxter, III wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>I'd even like to see it add <head> if not provided. Would that be too overreaching?</p><p>Lincoln Baxter III<br><a href="http://ocpsoft.com/">http://ocpsoft.com</a><br><a href="http://scrumshark.com/">http://scrumshark.com</a><br>Keep it simple.</p><div><br class="webkit-block-placeholder"></div><blockquote type="cite">On Dec 15, 2009 1:02 PM, "David Geary" <<a href="mailto:clarity.training@gmail.com">clarity.training@gmail.com</a>> wrote:<br><br>2009/12/15 Lincoln Baxter, III <span dir="ltr"><<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>></span><br><div class="gmail_quote"><p><font color="#500050">> > It would be nice if it "just worked", and jsf would automatically add/detect he right place to l...</font></p><div>+1. I always pitch h:head and h:body as necessary to coordinate with resource relocation from h:outputScript and h:outputStylesheet, but it would be great if you could just use <head> and <body> instead, and have everything work.<br><font color="#888888"><br><br>david <br></font></div><p><font color="#500050">> > Lincoln Baxter III > <a href="http://ocpsoft.com/">http://ocpsoft.com</a> > <a href="http://scrumshark.com/">http://scrumshark.com</a> > Keep it simple. >> >> On Dec 1...</font></p></div><br></blockquote><div><br class="webkit-block-placeholder"></div></blockquote></div></div></div></body></html>