0

the tabbox with an accordion-lite mold can't work as my expectation

asked 2009-12-29 01:01:24 +0800

aximoyang gravatar image aximoyang
3

hi,all:
if i use the this code to

<zk>
	<borderlayout>
		<north>
		</north>
		<center>
			<borderlayout>
				<west width="25%">
					<tabbox id="tabbox" height="100%" >
						<tabs>
							<tab label="install" />
							<tab label="config manage" />
							<tab label="other" />
						</tabs>
						<tabpanels>
							<tabpanel></tabpanel>
							<tabpanel></tabpanel>
							<tabpanel></tabpanel>
						</tabpanels>
					</tabbox>
				</west>
				<east></east>
			</borderlayout>
		</center>
		<south></south>
	</borderlayout>
</zk>


the west area in vertical is filled by the tabpanel,it is ok,but,when i use codes:
<zk>
	<borderlayout>
		<north></north>
		<center>
			<borderlayout>
				<west width="25%">
					<tabbox id="tabbox" mold="accordion-lite" height="100%" >
						<tabs>
							<tab label="install" />
							<tab label="config manage" />
							<tab label="other" />
						</tabs>
						<tabpanels>
							<tabpanel></tabpanel>
							<tabpanel></tabpanel>
							<tabpanel></tabpanel>
						</tabpanels>
					</tabbox>
				</west>
				<east></east>
			</borderlayout>
		</center>
		<south></south>
	</borderlayout>
</zk>


the west area in vertical is not filled by the tabpanel,unless i use the height with px(not '%').however, i want it extend automatically in vertical.
so,it's a bug or i use tabbox in a wrong way? i use zkoss 5.0 RC2,and this question take place in ie6 and opera9 at least

thanks!

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2010-01-17 21:36:36 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Hi,

You should specify the vflex to true instead.

link publish delete flag offensive edit

answered 2010-03-07 02:51:08 +0800

cryandaguo gravatar image cryandaguo
72 2

I put the vflex to everywhere I can put
but it is still not working correctly.
as codes below:

<zk>
<borderlayout>
<north></north>
<center>
<borderlayout>
<west width="25%">
<tabbox id="tabbox" mold="accordion-lite" height="100%" >
<tabs>
<tab label="install" />
<tab label="config manage" />
<tab label="other" />
</tabs>
<tabpanels>
<tabpanel height="100%" vflex="true"></tabpanel>
<tabpanel height="100%" vflex="true"></tabpanel>
<tabpanel height="100%" vflex="true"></tabpanel>
</tabpanels>
</tabbox>
</west>
<east></east>
</borderlayout>
</center>
<south></south>
</borderlayout>
</zk>


Could accordion tabbox can do this 100%height work?
if it can please tell me a right way!

link publish delete flag offensive edit

answered 2010-03-07 02:55:16 +0800

cryandaguo gravatar image cryandaguo
72 2

By the way the codes I post is based on ZK 5.0

link publish delete flag offensive edit

answered 2010-03-07 19:22:40 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

You can refer to the feature in next ZK 5.0.1 release.

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-12-29 01:01:24 +0800

Seen: 556 times

Last updated: Mar 07 '10

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