dgraham 2003/01/16 22:06:55
Modified: doc/userGuide struts-html.xml
Log:
Added cdata to javascript tag for xhtml.
Revision Changes Path
1.47 +17 -0 jakarta-struts/doc/userGuide/struts-html.xml
Index: struts-html.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- struts-html.xml 13 Jan 2003 00:05:59 -0000 1.46
+++ struts-html.xml 17 Jan 2003 06:06:55 -0000 1.47
@@ -3238,6 +3238,23 @@
</p>
</info>
+ <attribute>
+ <name>cdata</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <info>
+ <p>
+ If set to "true" and XHTML has been enabled, the JavaScript will
+ be wrapped in a CDATA section to prevent XML parsing. Current
browsers
+ don't support this convention, causing the scripts to fail. To
allow the
+ script to work in current browsers as well as hide it from XML
parsers you
+ need to set this attribute to "false" and htmlComment to "true".
The default is
+ "true" to comply with the W3C's recommendation.
+ </p>
+ </info>
+ <since>Struts 1.1</since>
+ </attribute>
+
<attribute>
<name>dynamicJavascript</name>
<required>false</required>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>