This content has been marked as final.
Show 2 replies
-
1. Re: Facelets: Ways to output code that shall be unparsed
amitev Dec 13, 2007 6:33 AM (in response to junkie)Use CDATA
<script> <![CDATA[ function test(...) { .......... } ]]> </script>
-
2. Re: Facelets: Ways to output code that shall be unparsed
junkie Dec 13, 2007 9:57 AM (in response to junkie)Thanks, I had already tried that, but I received error messages in the browsers (JavaScript error in IE, XML/document not well formed error in FF)
The solution that finally worked is this (note the double slashes):<script> //<![CDATA[ function test(...) { .......... } //]]> </script>