0

bug for borderlayout

asked 2009-05-09 10:14:41 +0800

yuzexu2 gravatar image yuzexu2
222

test.zul
<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk xmlns:n="http://www.zkoss.org/2005/zk/native">
<tabbox height="100%" width="100%">
<tabs>
<tab id="tab1" label="tab1" />
<tab id="tab2" label="tab2" />
</tabs>
<tabpanels>
<tabpanel>
<iframe src="/iframe.zul?tab=tab1" height="100%" width="100%"/>
</tabpanel>
<tabpanel fulfill="tab2.onSelect">
<iframe src="/iframe.zul?tab=tab2" height="100%" width="100%"/>
</tabpanel>
</tabpanels>
</tabbox>
</zk>

iframe.zul

<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
<borderlayout height="100%" width="100%"><north size="27px">
<menubar><menuitem label="menu1"/></menubar>
</north><center>
${param.tab }</center></borderlayout>
</zk>

the bug show when you As soon as possible select tab1 then tab2 tab1 then tab2 ........
then the borderlayout will lost The correct layout

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-05-13 01:50:46 +0800

kindalu gravatar image kindalu
255

updated 2009-05-13 02:18:23 +0800

I posted this bug to tracker
https://sourceforge.net/tracker/?func=detail&aid=2790987&group_id=152762&atid=785191

link publish delete flag offensive edit

answered 2009-05-13 01:53:26 +0800

yuzexu2 gravatar image yuzexu2
222

thank you !hope can slove as soon as

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-05-09 10:14:41 +0800

Seen: 168 times

Last updated: May 13 '09

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