PDA

View Full Version : Is there a way to include a file in ExtJS as it relates to a local path?



jbeaven
14 Mar 2011, 11:07 AM
So I'm working with a service that was written in Dojo initially and I have to refactor it to use ExtJS as that's what we're using now.

The problem is the service has the javascript in a seperate file from the form that creates the taglib (as it should be). The problem is that I can't get this taglib to be able to call my Ext functions from the js it has.

I tried using an ajax call but that's using my servers path for the url and not the services path to try to include the needed file.

Is there a way around this or am I going to have to put all of the javascript into the services .tag file in order to get it to function correctly?