Skip to Content
Former Member
Sep 18, 2018 at 05:15 PM

zk.wpd:9 Not allowed to load local resource


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: alt text

Any idea pleaaaase ?!! Thank you in advane


11444-error.png (6.7 kB)