myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r938962 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
Date Wed, 28 Apr 2010 12:12:00 GMT
Author: lu4242
Date: Wed Apr 28 12:12:00 2010
New Revision: 938962

URL: http://svn.apache.org/viewvc?rev=938962&view=rev
Log:
MYFACES-2682 ResourceHandlerImpl.handleResourceRequest should call createResource getting
the top ResourceHandler

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java?rev=938962&r1=938961&r2=938962&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
Wed Apr 28 12:12:00 2010
@@ -290,11 +290,11 @@ public class ResourceHandlerImpl extends
             if (libraryName != null)
             {
                 //log.info("libraryName=" + libraryName);
-                resource = createResource(resourceName, libraryName);
+                resource = facesContext.getApplication().getResourceHandler().createResource(resourceName,
libraryName);
             }
             else
             {
-                resource = createResource(resourceName);
+                resource = facesContext.getApplication().getResourceHandler().createResource(resourceName);
             }
     
             if (resource == null)



Mime
View raw message