I’m trying to make conversation between two windows.
i made two vaadin widgets, and placed them on a different view. and open them in diferent windows.
through component1 ( server side ) through session atridute get reference to component2ClientRpc and calling method on it.
and nothing results, unless i click on component2.
i cannot understand why display does not occur immediately?
someone plese answers can i get immediately update of the displayable state of the second component usin Rpc or shared state?
Changing something in window1 during handling request from window2 won’t result in transferring state changes to window1. But when you do something causing request to server than the changes are transfered to the browser window from which the request came.
You need some kind of server push (or client polling) to make changes come from server-side to the client.