Include Javascript in the JSF page
843842Aug 20 2004 — edited Aug 20 2004
I have found a solution to my javascript include problem in the JSF page. If you encounter one, use this (this applies to Sun's creator and reference implementation):
<f:verbatim>
<script language="JavaScript" src="resources/scriptfile.js" type="text/javascript"></script>
</f:verbatim>
The idea is to user verbatim tag versus direct html include. Also note that I convert the greater and lesser than character to their escaped representation.