You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by se...@apache.org on 2004/04/04 15:45:25 UTC
cvs commit: jakarta-turbine-2/xdocs changes.xml
seade 2004/04/04 06:45:25
Modified: src/java/org/apache/turbine/util/template
HtmlPageAttributes.java
xdocs changes.xml
Log:
TTWS60: HtmlPageAttributes setBackground sets the incorrect key name.
Revision Changes Path
1.12 +2 -2 jakarta-turbine-2/src/java/org/apache/turbine/util/template/HtmlPageAttributes.java
Index: HtmlPageAttributes.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/template/HtmlPageAttributes.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- HtmlPageAttributes.java 3 Sep 2003 09:14:40 -0000 1.11
+++ HtmlPageAttributes.java 4 Apr 2004 13:45:25 -0000 1.12
@@ -465,7 +465,7 @@
*/
public HtmlPageAttributes setBackground(String url)
{
- this.bodyAttributes.put("backgroup", url);
+ this.bodyAttributes.put("background", url);
return this;
}
1.84 +3 -0 jakarta-turbine-2/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/xdocs/changes.xml,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- changes.xml 31 Mar 2004 19:21:07 -0000 1.83
+++ changes.xml 4 Apr 2004 13:45:25 -0000 1.84
@@ -166,6 +166,9 @@
<em>data.setLayout("DirectResponseLayout");</em> to your action class.
Thanks to Peter Courcoux for the code.
</li>
+ <ul>
+ TTWS60: HtmlPageAttributes setBackground sets the incorrect key name.
+ </ul>
</ul>
</p>
</subsection>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org