Vaadin 7 alpha 3 Custom Layout not working

Hi I just downloaded Vaadin7 alpha 3

I am getting the same error as mentioned above.
Server sent Vaadin 6 style updates for CustomLayoutConnector but this is not a Vaadin 6 Paintable.

I am NOT doing anything osgi related yet…

The following is my root

package com.example.v7customlayout;

import com.vaadin.annotations.Theme;
import com.vaadin.terminal.WrappedRequest;
import com.vaadin.ui.CustomLayout;
import com.vaadin.ui.Root;

public class V7customlayoutRoot extends Root {
public void init(WrappedRequest request) {
CustomLayout custom = getCustomLayout();

public CustomLayout getCustomLayout() {
return new CustomLayout(“index”);


NOTE: I have tried adding the CustomLayout to a Panel and then set the Panel as the content of the root. Also tried the same trick with the VerticalLayout to no avail.

Next is my web.xml

<?xml version="1.0" encoding="UTF-8"?> V7CustomLayout Vaadin production mode productionMode false V7customlayout Application com.vaadin.terminal.gwt.server.ApplicationServlet Vaadin root class to use root com.example.v7customlayout.V7customlayoutRoot V7customlayout Application /* index.html index.htm index.jsp default.html default.htm default.jsp

The structure of my theme is


This project has been created using the eclipse plugin and I added the theme afterward.

Another question would be.
If I want to set the theme programmaically… NOT using the annotation. What would the best way be to do that in Vaadin7


By the way

I tried one of the nightly builds as suggested in another post to try this in Vaadin7 …
And that works