setVisible() in InlineDateField


I’m using a InlineDateField in my Vaadin application. When the application is started, the InlineDateField shoudn’t be visible, so I executet “setVisible(false)” on the InlineDateField. But when I’m using the code below, the Button which is created after the InlineDateSelect isn’t visible. Is this a bug in Vaadin?

I just createt a new Vaadin application (Vaadin 6.7.7) with Maven and and inserted the 3 Lines to add the InlineDateField.


    public void init()
        window = new Window("My Vaadin Application");
        InlineDateField field = new InlineDateField();
        Button button = new Button("Click Me");
        button.addListener(new Button.ClickListener() {
            public void buttonClick(ClickEvent event) {
                window.addComponent(new Label("Thank you for clicking"));

Seems to be at least with VerticalLayout. With CssLayout it works. Please file a bug to Vaadin trac.

I created a bug report for it: