-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I'm having an error while sending an event from client-side to server-side, using following call :
zAu.send(new zk.Event(jq('$myId')[0],'onCalling', [ 'foo' ]));
I get following error in javascript console :
TypeError: Cannot read property '_aureqs' of undefined
I'm using zk with Google Appengine (see here), and I know this code is working on other environment such as Weblogic.
Note that jq('$myId')[0] is defined, and so is new zk.Event(jq('$myId')[0],'onCalling', [ 'foo' ]) which returns y.$oid.
Any advice ?
Thanks a lot. Regards,
Hi shumy,
can you provide your sample code, and what is your ZK version?
I finally gave up, and implemented a good old Ajax XmlHttpRequest <-> Servlet communication within my Zk architecture.
You can try
zAu.send(new zk.Event(zk.Widget.$(jq('$myId')), "onFoo", {foo: 'my data'}, {toServer:true}));
Asked: 2011-12-18 18:15:56 +0800
Seen: 293 times
Last updated: Apr 09 '14
ZK how to stop OnClick event of tab? [closed]
Execute Javascript on component visible
ZK Clustering, Session Replication Question [closed]
How do I prevent dynamic tooltip to show when there is no text?
Search button in tutorial does not work
Issue in Tab close event enhancement