Hello!
I have got a strange kind of problem.
Having a Vaadin App (16.0.0.rc1, also 15.0.6) and opening the app in 3 browser tabs. Now I am excecuting following code in the first tab by pressing a button in my ui.
for (final com.vaadin.flow.component.UI cu : com.vaadin.flow.component.UI.getCurrent().getSession().getUIs()) {
// Vaadin reports 3 instances of UI (my 3 tabs).
// And now I am doing this
cu.getPage().executeJs("window.location.replace('http://www.google.de')");
}
The Javascript-code is executed in the first tab (the one I pressed the button in).
The other 2 tabs do not receive any Javascript-code.
Why Vaadin reports 3 Instances (I think this should be right) and why I can not send some Javascript-code to the both other tabs?
What I have got to do to solve this?
Thank you very much,
Thomas