Include a page from client side

asked 2015-07-20 07:14:48 +0800

aktejo gravatar image aktejo
155 3

updated 2015-07-20 07:16:54 +0800

I am trying to control page inclusion of an include component from client side script. I was wondering if this kind of operation is supported.

<include id="inclMain" src=""/> <separator/> <button label="include" w:onclick="navigateTo('another.zul')"/>

<script> var navigateTo = function(path){ var wicl=zk.Widget.$(jq('$inclMain')); wicl.src(path); // <-- doesn't work,how to do? } </script>
delete flag offensive retag edit
Be the first one to answer this question!
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

1 follower



Asked: 2015-07-20 07:14:48 +0800

Seen: 19 times

Last updated: Jul 20 '15

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