0

zAu.send not working on GAE ?

asked 2011-12-18 18:15:56 +0800

Macadoshis gravatar image Macadoshis flag of France
39
http://about.me/saad.benb...

updated 2014-04-04 16:32:37 +0800

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,

delete flag offensive retag edit

4 Answers

Sort by ยป oldest newest most voted
0

answered 2012-05-14 07:26:07 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi shumy,

can you provide your sample code, and what is your ZK version?

link publish delete flag offensive edit
0

answered 2012-05-10 09:48:44 +0800

shumy gravatar image shumy
244 1

Have the same problem here when overriding some methods of the gpolyline on the gmaps plugin.
Any lead on this error?

link publish delete flag offensive edit
0

answered 2011-12-21 13:06:45 +0800

Macadoshis gravatar image Macadoshis flag of France
39
http://about.me/saad.benb...

I finally gave up, and implemented a good old Ajax XmlHttpRequest <-> Servlet communication within my Zk architecture.

link publish delete flag offensive edit
0

answered 2014-04-09 02:12:04 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

You can try

zAu.send(new zk.Event(zk.Widget.$(jq('$myId')), "onFoo", {foo: 'my data'}, {toServer:true}));
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-12-18 18:15:56 +0800

Seen: 293 times

Last updated: Apr 09 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More