cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

zk.wpd:9 Not allowed to load local resource

Former Member
0 Kudos
462

Hello everyone,

i want to call javascript from a java class in backoffice ( it's an editor area section rendrer java class), so i used the ZK Clients API to load a javascript file and execute it in browser side, like this:

void loadJsFile(){

Clients.loadScript( javascriptFilePath );

}

when the section is rendred, and from the browser console i can see that the file wasnt loaded and there is an error message saying :

zk.wpd:9 Not allowed to load local resource:

Any idea pleaaaase ?!! Thank you in advane

Accepted Solutions (0)

Answers (0)