myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r294822 - /myfaces/tomahawk/trunk/src/java/org/apache/myfaces/component/html/util/AddResource.java
Date Tue, 04 Oct 2005 16:48:06 GMT
Author: mmarinschek
Date: Tue Oct  4 09:48:03 2005
New Revision: 294822

URL: http://svn.apache.org/viewcvs?rev=294822&view=rev
Log:
fix for MYFACES-645 - thanks to Stephan Strittmatter

Modified:
    myfaces/tomahawk/trunk/src/java/org/apache/myfaces/component/html/util/AddResource.java

Modified: myfaces/tomahawk/trunk/src/java/org/apache/myfaces/component/html/util/AddResource.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/component/html/util/AddResource.java?rev=294822&r1=294821&r2=294822&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/src/java/org/apache/myfaces/component/html/util/AddResource.java
(original)
+++ myfaces/tomahawk/trunk/src/java/org/apache/myfaces/component/html/util/AddResource.java
Tue Oct  4 09:48:03 2005
@@ -184,7 +184,7 @@
                                      String baseDirectory, String resourceFileName, FacesContext
context){
 
         AdditionalHeaderInfoToRender cssInfo = null;
-        if(baseDirectory!=null)
+        if(baseDirectory!=null && baseDirectory.trim().length()>0)
         {
             cssInfo = new AdditionalHeaderInfoToRender(
                     AdditionalHeaderInfoToRender.TYPE_CSS, baseDirectory, resourceFileName);



Mime
View raw message