Panel in TabSheet not displaing -- Potential Regression in Vaadin 7beta10

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:

  1. Create a Vaadin 7 project in Eclipse
  2. Choose Vaadin 7 beta10 as the Vaadin release
  3. Add the attached class
  4. 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)

This is probably caused by http://dev.vaadin.com/ticket/10404, which has been fixed since beta10. Try the latest snapshot or wait for rc1 which should be out pretty soon now…

The bug is fixed as of 7.0-SNAPSHOT (12/14/2012). Thanks much,
-dan