javascript and ZK

asked 2010-01-28 15:56:57 +0800

joeboo1848 gravatar image joeboo1848

I have an interesting problem. I am tasked with making a javascript function call to zk. The reason why, we have a flash player embedded in the application and it will have a button that gets clicked when the video is over. From that button click in the flash player I am to update some data. I have a javascript/ajax function of this working with dwr, but we need it to work with zk since the rest of the site is built in zk and we don't want to add other technologies if we don't have to.

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-01-30 12:26:19 +0800

kesavkolla gravatar image kesavkolla
180 3

The simplest way to achieve this is have a hidden textfield in the page with ZK. From flash set the textfield's value and invoke blur() on the textfield. That will trigger regular zk's event mechanism and sends data back to server.

link publish delete flag offensive edit

answered 2010-02-01 07:09:50 +0800

joeboo1848 gravatar image joeboo1848

awesome, thanks for the tip.

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




Asked: 2010-01-28 15:56:57 +0800

Seen: 230 times

Last updated: Feb 01 '10

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