0

Javascript interface to ZK Client Engine

asked 2006-02-26 16:53:51 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3598328

By: tskale

I am trying to integrate Google Map API with ZK application.

The map is shown in an iframe with its own Javascript. Is there any way for javascript functions to communicate with client engine? I want user actions on the map to send messages to components in the server. Any ideas?

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2006-02-27 01:54:38 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3598828

By: tomyeh

The method to send event back is zkau.send defined in au.js

Since the map component reside in iframe, you might use parent.zkau.send(...)


link publish delete flag offensive edit

answered 2006-02-27 07:01:09 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3599082

By: nobody

Thanks for the update!
Where can I find au.js. What parameters can be sent in send(..) function call?

Could you point me to the documentation for zkau?
Thanks.


link publish delete flag offensive edit

answered 2006-02-27 07:15:25 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3599091

By: tomyeh

I'm afraid you have to dig into the source codes, before we release the Component Development Guide.

The basic concept is to use zkau.send to send an event called onNotify and you could pack whatever information into the data argument. Then, your component at the server could listen to the onNotify event for processing the information.

However, the onNotify event is available in the following 1.0.0 final. Please wait a while.

link publish delete flag offensive edit
Your reply
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: 2006-02-26 16:53:51 +0800

Seen: 773 times

Last updated: Feb 27 '06

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