Border layout inside a tab box - no display in design mode
i have the same problem, using firebug i can see the html Divs with the borderlayout content (i mean everything is rendered) but nothing is displyed in the screen. ¿any help or workaround?
Same problem. I 've posted also a new thread but still nothing :(
Hi cyiannoulis,
Do you mean it is not displayed in the visual editor or on the browser?
Regards,
Simon
Hi simon,
The browser looks fine and executes the ZUL page as expected. The problem (if i may say so) is that i cannot switch between panels inside the visual editor. Only the first one is visible. Terry says that this is the actual behavior of the visual editor, but i think that it would be more productive if i could navigate visually through the contents of each tab before running the application in the browser.
Regards
cyiannoulis,
I see your point, and thanks for the information. I think this feature was one of the difficult parts to implement when we made ZK Studio.
Note that currently we don't have any schedule to work on a next version of ZK Studio, but I have add this issue as a feature request. Hopefully we can see this feature in the next version of ZK Studio, but you will probably need to work with the current one for now.
Thanks,
Simon
As a workaround you can add selected="true" to the tab you are working on, e.g.
<tabbox width="100%">
<tabs>
<tab label="Tab1" />
<tab label="Tab2" />
<tab label="Tab3" />
<tab label="Tab4" selected="true"/>
</tabs>
...
</tabbox>
A little clunky, but it works... ;)
I am also facing the same problem ; I have put my tabs inside a hlayout it is not working as you have suggested -> after making selected="true" . any other work around??
Hi gourabp,
Did you mean you put the Tabbox in an hlayout? Tabs can only be a child of Tabbox.
Have you tried to give a size to hlayout?
Regards,
Simon
Th same problem. When I've writing something like this:
<?page title="Layouts" contentType="text/html;charset=UTF-8"?> <zk> <borderlayout> <north>north</north> <center>center</center> <south>south</south> </borderlayout> </zk>
then in Visual Editor in Eclipse is empty page. But in browser all is OK.
ZK - Open Source Ajax Java Framework
I've hit a problem with ZK Studio - if I put a borderlayout inside a tab panel nothing is shown.
Also inside the visual editor how do I switch the showing tab panel from the 1st tab to another?