-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
I posted this bug to tracker
https://sourceforge.net/tracker/?func=detail&aid=2790987&group_id=152762&atid=785191
Asked: 2009-05-09 10:14:41 +0800
Seen: 168 times
Last updated: May 13 '09