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.
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.
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;
}