Hi,
I edited my GlobalMacros.vm file, (in WEB-INF/templates/vm/) and added
this line to the headScripts macro:
compact.js has all the javascript I need. This macro is automatically
executed in the layout pages (at least with Jetspeed 1.5), so the
functions in compact.js are available to every p
We use them in each portlet, and friendly up the javascript names (make them
unique) using the Portlet ID, this way you can have common javascript names
you reference in your portlets using the portletid. We had to muck the
JS_PEID to remove the hyphens, as they didn't work well together.
-O