You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sv...@apache.org on 2005/02/09 22:17:57 UTC
cvs commit: incubator-myfaces/src/components/org/apache/myfaces/custom/div DivRenderer.java
svieujot 2005/02/09 13:17:57
Modified: src/components/org/apache/myfaces/custom/div
DivRenderer.java
Log:
Bugfix for MYFACES-105, thanks to Norm Deane
Revision Changes Path
1.5 +6 -3 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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DivRenderer.java 9 Feb 2005 17:41:30 -0000 1.4
+++ DivRenderer.java 9 Feb 2005 21:17:57 -0000 1.5
@@ -28,6 +28,9 @@
* @author bdudney (latest modification by $Author$)
* @version $Revision$ $Date$
* $Log$
+ * Revision 1.5 2005/02/09 21:17:57 svieujot
+ * Bugfix for MYFACES-105, thanks to Norm Deane
+ *
* Revision 1.4 2005/02/09 17:41:30 svieujot
* Apply Sean Schofield's patch for MYFACES-104
*
@@ -61,10 +64,10 @@
throw new IllegalStateException("Only one of style or styleClass can be specified");
}
if(null != styleClass) {
- writer.write("class=\"" + styleClass + "\"");
+ writer.writeAttribute(HTML.CLASS_ATTR, styleClass, null);
}
if(null != style) {
- writer.write("style=\"" + style + "\"");
+ writer.writeAttribute(HTML.STYLE_ATTR, style, null);
}
}