-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: bridge-impl-4.0.0, bridge-impl-5.0.0
-
Fix Version/s: bridge-impl-4.0.0, bridge-impl-5.0.0
-
Component/s: Liferay Faces Bridge Impl / Demos / Tests
-
Labels:None
{markdown}
[In JSF 2.2, an isResourceURL() method was added to ResourceHandler.](https://github.com/javaserverfaces/mojarra/blob/2.2.0/jsf-api/src/main/java/javax/faces/application/ResourceHandler.java#L604) However, `ResourceHandlerInnerImpl` does not implement this method. [Because the default implementation of isResourceURL() checks for the presence of "/javax.faces.resource"](https://github.com/javaserverfaces/mojarra/blob/2.2.0/jsf-api/src/main/java/javax/faces/application/ResourceHandler.java#L165) and JSF portlet resource URLs do not contain a slash ("`/`"), `isResourceURL()` returns false for JSF portlet resource URLs.{markdown}
[In JSF 2.2, an isResourceURL() method was added to ResourceHandler.](https://github.com/javaserverfaces/mojarra/blob/2.2.0/jsf-api/src/main/java/javax/faces/application/ResourceHandler.java#L604) However, `ResourceHandlerInnerImpl` does not implement this method. [Because the default implementation of isResourceURL() checks for the presence of "/javax.faces.resource"](https://github.com/javaserverfaces/mojarra/blob/2.2.0/jsf-api/src/main/java/javax/faces/application/ResourceHandler.java#L165) and JSF portlet resource URLs do not contain a slash ("`/`"), `isResourceURL()` returns false for JSF portlet resource URLs.{markdown}