4 Replies Latest reply on May 9, 2007 7:36 AM by sirishy

    How to include Javascript source file in portal

    ashes.sarin

      Hi,

      I am facing some problem in importing a javascript source file. I am using the following tools/technologies: JBoss Portal, MyFaces, Facelets. I use something like this in my XHTML page:



      You can get an idea that I am trying to make use of DOJO in my portal page. The problem is that the IE and Mozilla complain that they were not able to find the 'dojo' object which is actually instantiated when dojo.js file is loaded. So it seems that the portal is not able to find the dojo.js file.

      So how i should get this dojo.js file successfully included in my portal page ??

      thanks
      Ashish