Multi window application

Hi

For long time I can’t force my Vaadin application to works as multi-window application (1 browser, many application windows (the same URL)) but I couldn’t achieve that. I already wrote one post (
message/127673
) but it looks like I found a bug in Opera instead of getting answer from other fellows :slight_smile: My previous post (
message/112133
) unfortunately doesn’t work as I want to.

But reding the forum I found that this public site uses
http://www.blackbeltfactory.com
Vaadin. Also many same-URL windows works ok (no synchronization error).

So now, when I see that this
is
possible, my question is: how to achieve this kind of functionality?
For my application it’s quite crucial.

With Regards

Take a look of
Navigator add-on
.

Thank You for the response.

Navigator solution - as I see from source code - uses a trick that in fact one browser window refers to exactly one Vaadin window and handling multiple windows is done within this Vaadin window by views. Is there any solution that uses “one to one” relation: one browser window = one [Navigator’s]
view = one Vaadin
application
window.

If I am not clear I can explain it more :slight_smile:

Override getWindow() in your application, something like

    @Override
    public Window getWindow(String name) {
        Window w = super.getWindow(name);
        if (w == null) {
                w = new MyFooBarWindow();
                w.setName(name);
                addWindow(w);
        }
        return w;
    }

Book of Vaadin also contains more on the subject.

Best Regards,
Marc

I already did that -
message/127673
- and it doesn’t work :frowning: You can compare code snippet there with Your proposal of getWindow method.