Book of Vaadin question

Where can we discuss questions about the book of Vaadin?

I am running against a simple problem. The following is probably a typo.

$4.3.1 (page68)

The following source is not working:

public class MyApplication extends Application {
@Override
public void init() {
Window main = new Window(“Example431 Application”);
setMainWindow(main);
addComponent(new WindowOpener(“Window Opener”, main));
}
}

This should be changed to

public class MyApplication extends Application {
@Override
public void init() {
Window main = new Window(“Example431 Application”);
setMainWindow(main);

main.
addComponent(new WindowOpener(“Window Opener”, main));
}
}

Is this correct or should the class be extended from an other class?

Hi,

You are absolutely right, there is an error in the example code.

The big example in the section may be a bit too complex. There are some
enhanced sub-window examples on-line
.

If you find more errors, you could also file a ticket in the
Vaadin Trac
. Just set the component as “Documentation”. If possible, put more than one error in a ticket. Hate to admit it, but probably most pages have more than one typo… (Might also take some time to fix errors, so many in queue.)