0

zk 3.6 + tabbox: layout working on 3.5, no more working on 3.6

asked 2009-04-22 10:04:23 +0800

naarani gravatar image naarani
33
www.blogstudiolegale.eu

hi

i was using tabbox (with java, not zul file) with zk 3.5 and layout worked fine

updating libraries to zk 3.6 my layout have "NO TAB header":
the tabbox WORKS; but instead of tab "header" i've a vertical
list of words with a dot in front of it (clicking 'em make
the tab content change as needed)

anyone has problems like this?

cya, thanks

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2009-04-22 10:22:47 +0800

naarani gravatar image naarani
33
www.blogstudiolegale.eu

java source
___________________________________
// creating tabbox, <header>, <panels>
Tabbox tabbox = null;
Tabs tabs = null;
Tab tab = null;
Tabpanels tabPanels = null;
Tabpanel tabPanel = null;
//
tabbox = new Tabbox();
tabbox.setParent( box );
// TAB <HEADERS>
tabs = new Tabs();
tabs.setParent( tabbox );
//
tab = new Tab( "Dati base" );
tabs.appendChild( tab );
// TAB <PANELS>
tabPanels = new Tabpanels();
tabbox.appendChild( tabPanels );

tabPanel = new Tabpanel();
tabPanel.setParent( tabPanels );
___________________________________

link publish delete flag offensive edit

answered 2009-04-23 01:28:01 +0800

iantsai gravatar image iantsai
2755 1

It seems okay to test your code in zkdemo like this:


<window id="box" title="My First Window" border="normal" width="200px">
<zscript>
// creating tabbox, header>, panels>
Tabbox tabbox = null;
Tabs tabs = null;
Tab tab = null;
Tabpanels tabPanels = null;
Tabpanel tabPanel = null;
//
tabbox = new Tabbox();
tabbox.setParent( box );
// TAB HEADERS>
tabs = new Tabs();
tabs.setParent( tabbox );
//
tab = new Tab( "Dati base" );
tabs.appendChild( tab );
// TAB PANELS>
tabPanels = new Tabpanels();
tabbox.appendChild( tabPanels );

tabPanel = new Tabpanel();
tabPanel.setParent( tabPanels );

new Label("This is a test").setParent(tabPanel);

</zscript>
</window>
			


So, could you please run this piece of code in your environment and comparing any conceptual differences to your real apps?

link publish delete flag offensive edit

answered 2009-04-23 19:39:42 +0800

naarani gravatar image naarani
33
www.blogstudiolegale.eu

i've runned it into ZK Live Demo, and it works fine: i'm trying to understand what's wrong inside java app

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-04-22 10:04:23 +0800

Seen: 354 times

Last updated: Apr 23 '09

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