Hello, I am unable to load the images related to my *.js file in the normal way, due to unknown reasons.
So, I am trying to find a way in which I can explicity load the image path associated to my *.js file. I intend to use my custom Library class which contributes JavaScript libraries. As of now I am trying to use Tapestry JavaScriptModuleConfiguration class which I add to the static custom configuration MAP. I am trying to do something like this:- @Path(static constant referring to the image path "context:....") Resource img; @Path(static constant referring to the js path "context:....") Resource js configuration.add("xyz", new JavaScriptModuleConfiguration( js).exports("variable").dependsOn(img.getFile())); But it doesnt work. Any help would be highly appreciated. Regards Akshay