myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdud...@apache.org
Subject cvs commit: incubator-myfaces/src/components/org/apache/myfaces/custom/div DivRenderer.java
Date Wed, 10 Nov 2004 11:09:52 GMT
bdudney     2004/11/10 03:09:52

  Modified:    doc      release-notes.txt
               src/components/org/apache/myfaces/custom/div
                        DivRenderer.java
  Log:
  div renderer now puts the class/style in quotes
  
  Revision  Changes    Path
  1.136     +1 -0      incubator-myfaces/doc/release-notes.txt
  
  Index: release-notes.txt
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/doc/release-notes.txt,v
  retrieving revision 1.135
  retrieving revision 1.136
  diff -u -r1.135 -r1.136
  --- release-notes.txt	8 Nov 2004 20:43:15 -0000	1.135
  +++ release-notes.txt	10 Nov 2004 11:09:52 -0000	1.136
  @@ -14,6 +14,7 @@
     - myfaces-extensions.jar contains the myfaces extensions
     - myfaces.jar containes all the myfaces code, and can be used in place of the 3 above
   * add an x:aliasBean component
  +* add an x:div component
   ----------------------------------------------------------------------
   Changes in Release 1.0.7 beta
   * new custom component: HtmlPanelStack
  
  
  
  1.2       +8 -5      incubator-myfaces/src/components/org/apache/myfaces/custom/div/DivRenderer.java
  
  Index: DivRenderer.java
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/components/org/apache/myfaces/custom/div/DivRenderer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DivRenderer.java	8 Nov 2004 03:43:20 -0000	1.1
  +++ DivRenderer.java	10 Nov 2004 11:09:52 -0000	1.2
  @@ -27,6 +27,9 @@
    * @author bdudney (latest modification by $Author$) 
    * @version $Revision$ $Date$ 
    * $Log$
  + * Revision 1.2  2004/11/10 11:09:52  bdudney
  + * div renderer now puts the class/style in quotes
  + *
    * Revision 1.1  2004/11/08 03:43:20  bdudney
    * Added a div element. x:div to use, inserts a div with class or style attributes
    *
  @@ -52,10 +55,10 @@
         throw new IllegalStateException("Only one of style or styleClass can be specified");
       }
       if(null != styleClass) {
  -      writer.write("class=" + styleClass);
  +      writer.write("class=\"" + styleClass + "\"");
       }
       if(null != style) {
  -      writer.write("style=" + style);
  +      writer.write("style=\"" + style + "\"");
       }
       writer.write(">");
     }
  
  
  

Mime
View raw message