Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
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 :) 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
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 :)
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 :( You can compare code snippet there with Your proposal of getWindow method.