0

Forward between tabs.

asked 2009-09-21 05:15:14 +0800

rex gravatar image rex
120 2

My application has only one page per session called desktop.zul and sections are divided using ZK tabs.
In every tab there is a zk page with different components (List, grid, ...). I am not using any link so I don't know how to forward from tab1 to tab2? That is if the user click on something in tab1 how can I forward it to tab2 when there are no links associated with the events?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-09-21 05:47:30 +0800

baskaraninfo gravatar image baskaraninfo
536 2 2 9

updated 2009-09-21 06:10:40 +0800

Do you want to set selected tab2, when user clicks on something in tab1?

The following code may help you:

<zscript><![CDATA[
	tabs.setSelectedIndex(1);
]]></zscript>

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: 2009-09-21 05:15:14 +0800

Seen: 152 times

Last updated: Sep 21 '09

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