This content has been marked as final.
Show 1 reply
-
1. Re: how to load an external javascript (js)
luxspes Nov 17, 2009 4:12 PM (in response to rsathish_gandhi)What do you mean by
external vs internal js
? All I do is put my .js files at applicationName\WebContent\scripts and then include them in my .xhtml files:<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/scripts/someScriptFile.js"></script>