myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcoo...@apache.org
Subject svn commit: r1070964 - /myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/CoreRenderKitResourceLoader.java
Date Tue, 15 Feb 2011 16:52:56 GMT
Author: mcooper
Date: Tue Feb 15 16:52:56 2011
New Revision: 1070964

URL: http://svn.apache.org/viewvc?rev=1070964&view=rev
Log:
TRINIDAD-2036 While ResourceServlet references files of type "ico", they won't load because
CoreRenderKitResourceLoader doesn't register them

Added "ico" to the list of file types that CoreRenderKitResourceLoader registers (e.g. added
to the list that includes ".css", ".cur", ".jpg", ".gif", ".png", ".jpeg", ".svg", and ".js").

Modified:
    myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/CoreRenderKitResourceLoader.java

Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/CoreRenderKitResourceLoader.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/CoreRenderKitResourceLoader.java?rev=1070964&r1=1070963&r2=1070964&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/CoreRenderKitResourceLoader.java
(original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/resource/CoreRenderKitResourceLoader.java
Tue Feb 15 16:52:56 2011
@@ -55,7 +55,7 @@ public class CoreRenderKitResourceLoader
     register("(/.*LocaleElements.*\\.js)",
              new LocaleElementsResourceLoader(getLocaleElementsURI("LocaleElements", true)));

 
-    register("(/.*\\.(css|cur|jpg|gif|png|jpeg|svg|js))",
+    register("(/.*\\.(css|cur|ico|jpg|gif|png|jpeg|svg|js))",
              new CoreClassLoaderResourceLoader(parent));
   }
 



Mime
View raw message