Hi,
Our app makes extensive use of Panels as tabs in a TabSheet. This worked fine with 7beta3, when I upgraded to beta10 (and now beta9), our Panels disappear when the tabs are clicked on. When I parent the Panel with a VerticalLayout, they display as expected. This behavior is seen with Eclipse Juno (4.3), Vaadin 7beta10, Tomcat 7 and Servlet 2.4.
To reproduce:
- Create a Vaadin 7 project in Eclipse
- Choose Vaadin 7 beta10 as the Vaadin release
- Add the attached class
- Modify the main application to use the Tabby class
Tab 1 works when the app first loads in the browser. Clicking on Tabs 2 and 3 give blanks, while the tab “Vertical Layout” works as expected.
While I can work around this easily (adding a Vertical Layout), it seems to be a problem.
Here’s the main class:
package com.example.tabby9;
import com.vaadin.server.VaadinRequest;
import com.vaadin.ui.UI;
public class Tabby9UI extends UI {
@Override
public void init(VaadinRequest request) {
setContent(new Tabby());
}
}
And the
interface component
demonstrating the problem (also attached).
Hopefully this will help track the problem down!
-dan
12693.java (9.05 KB)