-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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?
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(...)
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.
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.
Asked: 2006-02-26 16:53:51 +0800
Seen: 773 times
Last updated: Feb 27 '06