ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Border layout inside a tab box - no display in design mode

davout
5 Aug 2009 07:53:19 GMT
5 Aug 2009 07:53:19 GMT

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?

Mario2009
6 Aug 2009 17:46:42 GMT
6 Aug 2009 17:46:42 GMT

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?

cyiannoulis
15 Jul 2010 08:23:06 GMT
15 Jul 2010 08:23:06 GMT

Same problem. I 've posted also a new thread but still nothing :(

SimonPai
18 Jul 2010 21:01:43 GMT
18 Jul 2010 21:01:43 GMT

Hi cyiannoulis,

Do you mean it is not displayed in the visual editor or on the browser?

Regards,
Simon

cyiannoulis
19 Jul 2010 01:38:33 GMT
19 Jul 2010 01:38:33 GMT

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

SimonPai
19 Jul 2010 02:03:07 GMT
19 Jul 2010 02:03:07 GMT

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

red3
4 Aug 2010 14:38:16 GMT
4 Aug 2010 14:38:16 GMT

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... ;)

gourabp
11 Mar 2011 02:30:03 GMT
11 Mar 2011 02:30:03 GMT

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??

SimonPai
17 Mar 2011 05:03:01 GMT
17 Mar 2011 05:03:01 GMT

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

siberium
19 Mar 2011 08:12:51 GMT
19 Mar 2011 08:12:51 GMT

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.