You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Mikaƫl Cluseau <nw...@nwrk.dyndns.org> on 2005/01/07 13:57:55 UTC
Small fix
You need to add
writer.attribute("type", "text/javascript");
in org.apache.tapestry.html.Body in order to get valid XHTML 1.0.
Patch follows (think it's important for 3.0.2 since it will be the last
of the 3.0 series).
Index: Body.java
===================================================================
RCS
file: /home/cvspublic/jakarta-tapestry/framework/src/org/apache/tapestry/html/Attic/Body.java,v
retrieving revision 1.11.2.2
diff -u -r1.11.2.2 Body.java
--- Body.java 15 Sep 2004 15:30:50 -0000 1.11.2.2
+++ Body.java 7 Jan 2005 12:56:39 -0000
@@ -339,6 +339,7 @@
writer.begin("script");
writer.attribute("language", "JavaScript");
+ writer.attribute("type", "text/javascript");
writer.printRaw("<!--");
if (any(_imageInitializations))
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org