|
|
|
|
Re: Registered resources are not loaded when installing bundles manualy? [message #490552 is a reply to message #489889] |
Fri, 09 October 2009 02:53  |
Eclipse User |
|
|
|
Hi Eduard,
i had the same problem and wrote my own ResourceManager to solve this.
I read in the javascript files manually with a streamreader, put all resources together in one big byte array and serve this to the browser using a servicehandler. This byte array is updated everytime a bundle comes or goes and makes a contribution to the ResourceManager
Additonally, I wrote a small static method in a qooxdoo class which is able to load and eval the js code from the service handler during runtime. (see qx.io.remote.Request(url))
Now you can invoke this method using a HtmlResponseWriter passing an url to it. I invoke the method every time a display is rendered using a PhaseListener.
Greetings
Onno
|
|
|
Powered by
FUDForum. Page generated in 0.05613 seconds