How do I add a global javascript and css to a whole page that uses a predefined template in Adobe CQ5?
I want to Send data via AJax call to serlvet, the serlvet will return some result based to which I will redirect to a page. So where do I add this global .js file i.e the file that contains the AJAX call. PLEASE NOTE I'M USING PREDEFINED FORM COMPONENT AND A PREDEFINED TEMPLATE(Form Template) SO I CAN'T DO STUFF LIKE <cq: includeClientLibs> , as I don't have source code of component(form template).
I found a link where we add a global JS but I don't have this option in my CQ5 instance.
So Weird.http://www.sfu.ca/itservices/cms/howto/advanced/style-a-page/customjavascript.html
[img]weird.PNG[/img]