7 Replies Latest reply on Aug 7, 2007 6:28 AM by Stéphane Nicoll

    What is the standard way to include Javascript resources acc

    Stéphane Nicoll Newbie

      Hello,

      We use a JS library in multiple portlets and we need to have it loaded at all times. Since we don't know which portlets will be deployed in which pages, we can't rely on the views content to define the Javascript.

      Currently we have hardcoded our script in:
      $JBOSS_PORTAL/server/default/deploy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/header.jsp

      Is there a more portable way to do this?