myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svieu...@apache.org
Subject cvs commit: incubator-myfaces/src/components/org/apache/myfaces/component/html/util AddResource.java
Date Fri, 03 Dec 2004 21:20:09 GMT
svieujot    2004/12/03 13:20:09

  Modified:    src/components/org/apache/myfaces/component/html/util
                        AddResource.java
  Log:
  Add type="text/css" for inline styles.
  
  Revision  Changes    Path
  1.13      +5 -2      incubator-myfaces/src/components/org/apache/myfaces/component/html/util/AddResource.java
  
  Index: AddResource.java
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/components/org/apache/myfaces/component/html/util/AddResource.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- AddResource.java	3 Dec 2004 21:15:21 -0000	1.12
  +++ AddResource.java	3 Dec 2004 21:20:09 -0000	1.13
  @@ -41,6 +41,9 @@
    * @author Sylvain Vieujot (latest modification by $Author$)
    * @version $Revision$ $Date$
    * $Log$
  + * Revision 1.13  2004/12/03 21:20:09  svieujot
  + * Add type="text/css" for inline styles.
  + *
    * Revision 1.12  2004/12/03 21:15:21  svieujot
    * define AdditionalHeaderInfoToRender.equals to prevent several include of the same header
info.
    *
  @@ -424,7 +427,7 @@
                  	+"href=\""+getResourceMappedPath(componentName, resourceFileName, request)+"\"
"
                  	+"type=\"text/css\"/>\n";
              case TYPE_CSS_INLINE:
  -               return "<style>"+inlineText+"</style>\n";
  +               return "<style type=\"text/css\">"+inlineText+"</style>\n";
               default:
                   log.warn("Unknown type:"+type);
                   return "<link href=\""+"\"/>\n";
  
  
  

Mime
View raw message