<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>
<p><blockquote type="cite">On Jan 13, 2010 12:18 PM, &quot;Neil Griffin&quot; &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&#39;m not sure. Someone please help me out. :-)<br>
<br>
I&#39;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&#39;s responsibility is it to call ExternalContext.encodeResourceURL()? Should that already be done by Resource.getRequestPath(), or should the calling method  (like StyleSheetRenderer.encodeEnd(FacesContext, UIComponent) take care of it?<br>

<br>
Thanks,<br>
<font color="#888888"><br>
Neil<br>
<br>
<br>
<br>
</font></blockquote></p>