-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I'd like to use HTML5 web workers and have them submit an Ajax request to a ZK-5 GenericAutowireComposer (controller).
Rules are simple:
1) can use and import any JS you want as long as it doesn't reference or use the DOM
2) you can pass a JSON object from your main JS thread (that has access to the DOM) to your web worker.
Between these two small talks:
http://docs.zkoss.org/wiki/Zk.Event
http://docs.zkoss.org/wiki/Notify_Server
I feel close... but I'm not sure which JS to import to have access to the AU requests and which calls to use to make the invocation.
Any help would be greatly appreciated
Well... I looked at Au.js in ZK trunk and it uses the window object (which is okay, so does jQuery, mootools, etc) but not okay for web workers.
Perhaps there is a way to get the uuid and uri for the XMLHTTPRequest manually?
Added: #3016845
Asked: 2010-06-11 14:57:25 +0800
Seen: 1,157 times
Last updated: Sep 21 '20