I'm using the "sencha" build tool to build/minify my final sencha touch 2 application but have a somewhat unique challenge.
I'm hosting the app in a Sitecore CMS such that pages returned will all have different paths and depths of paths. Every request will return the single same app just with a different context variable set to let it know the path of the item it should display. Our sencha 2 app is built to handle that. For example:
visiting www.website.com/ProductsList.aspx yields:
The app then uses the path variable to get the context it needs.
The challenge is that the resources (including the app.js itself) are, I think, assumed to be relative to the html page's path, such that in the first scenario the microloader will be looking for app.js at /app.js while in the second scenario it will be looking for it at /Products/app.js .
I thought perhaps the app.config would allow resource specification with absolute paths, but it mentions right in there to use relative paths.
Any help would be much appreciated. Thanks!