4 Replies Latest reply on Oct 29, 2009 8:36 AM by Wesley Hales

    Reference extern javascript in jboss-portal.xml

    Dalmau Francesc Newbie


      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 file I 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">


      <!-- PortletB -->



      <!-- what about portlet a?? -->



      Thank you very much for any help.