Split Panel in Split Panel

VerticalSplitPanel vsp = new VerticalSplitPanel();
HorizontalSplitPanel hsp = new HorizontalSplitPanel();

HorizontalLayout vl = new HorizontalLayout();
vl.addComponent(new Button("test01"));
vl.addComponent(new Button("test02"));
vl.addComponent(new Button("test03"));
vl.addComponent(new Button("test04"));
vl.addComponent(new Button("test05"));
vl.addComponent(new Button("test06"));
vl.addComponent(new Button("test07"));

vsp.setFirstComponent(vl);

HorizontalLayout vl01 = new HorizontalLayout();
vl01.addComponent(new Button("test11"));
vl01.addComponent(new Button("test12"));
vl01.addComponent(new Button("test13"));
vl01.addComponent(new Button("test14"));
vl01.addComponent(new Button("test15"));
vl01.addComponent(new Button("test16"));
vl01.addComponent(new Button("test17"));

hsp.setFirstComponent(vl01);

HorizontalLayout vl02 = new HorizontalLayout();
vl02.addComponent(new Button("test21"));
vl02.addComponent(new Button("test22"));
vl02.addComponent(new Button("test23"));
vl02.addComponent(new Button("test24"));
vl02.addComponent(new Button("test25"));
vl02.addComponent(new Button("test26"));
vl02.addComponent(new Button("test27"));

hsp.setSecondComponent(vl02);

vsp.setSecondComponent(hsp);

[color=#FF0000]
When Moved Split… Error occurs…

com.vaadin.client.LayoutManager
SEVERE : PanelConnector(2) has been layouted 3 times
[/color]

[size=6]
[b]
It impossible?

SplitPanel in SplitPanel
[/b]
[/size]

Hi,

could you state which Vaadin version you are using? I tried your code with Vaadin 7.4.7 and there were no errors when moving either split.

-tepi