2 Replies Latest reply on Sep 9, 2010 6:52 AM by abe1001

    External javascript in gatein-resources

    abe1001

      Is it possible to link to external javascripts in gatein-resources.xml?

       

      When I do this:

       

      <javascript>
               <param>
                    <js-module>Dojo</js-module>
                    <js-path>http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js</js-path>
                    <js-priority>0</js-priority>
               </param>
      </javascript>

       

      ..the result in the HTML-code looks like this:

       

      <script  type="text/javascript"  src="/SpringMVChttp://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js"></script>

       

      How can I get GateIn to ignore my projectname?

       

      Is it a better way to do this?