0 Replies Latest reply on Oct 28, 2009 4:22 AM by Dalmau Francesc

    Reference extern javascript in jboss-portal.xml

    Dalmau Francesc Newbie

      Hello,

      Does anybody know how to make a reference to an extern javascript file in the jboss-portal.xml descriptor?

      For example: I have a a.war file with a a.js file and a b.war with a b.js file. In this b.war fileI need to use some javascript functions from a.js. This would be my jboss-portal.xml file:


      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE portlet-app PUBLIC "-//JBoss Portal//DTD JBoss Portlet 2.6//EN" "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">

      <portlet-app>

      <!-- PortletB -->

      <portlet-name>bPortlet</portlet-name>

      <header-content>




      </header-content>





      </portlet-app>