<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Lincoln. Well if that's indeed the case, then I guess that means there are some bugs in Mojarra. For example,&nbsp;StyleSheetRenderer.encodeEnd(FacesContext, UIComponent) should call ExternalContext.encodeResourceURL() before it outputs the &lt;link&gt; tag.<div><br></div><div>Anyone from the Mojarra team agree/disagree?</div><div><br></div><div>Neil<br><div><br></div><div><div><div>On Jan 13, 2010, at 12:43 PM, Lincoln Baxter, III wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>I believe it is your responsibility, since that method is required to simply pass-through the servlet/portletrequest return value for that method.</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 Jan 13, 2010 12:18 PM, "Neil Griffin" &lt;<a href="mailto:neil.griffin@portletfaces.org">neil.griffin@portletfaces.org</a>&gt; wrote:<br><br>Hello all,<br>
<br>
This could be a bug in Mojarra 2.0.2, or it could be a problem with the spec -- I'm not sure. Someone please help me out. :-)<br>
<br>
I'm trying to get JSF 2.0 resource stuff to work right in the PortletFaces Bridge, but the return value from Resource.getRequestPath() is not encoded...<br>
<br>
So the question is... who's responsibility is it to call ExternalContext.encodeResourceURL()? Should that already be done by Resource.getRequestPath(), or should the calling method &nbsp;(like StyleSheetRenderer.encodeEnd(FacesContext, UIComponent) take care of it?<br>

<br>
Thanks,<br>
<font color="#888888"><br>
Neil<br>
<br>
<br>
<br>
</font></blockquote><div><br class="webkit-block-placeholder"></div>
</blockquote></div><br></div></div></body></html>