GWT SDK does not have a Java method to change the Location of the top most
window from within an iframe.
You could use elemental2 library which provides access to most JavaScript
DOM API. Using elemental2 you can do
DomGlobal.window.top.location.replace/assign(url)
But this will only work if
I am using the Window.Location provided by GWT
https://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/Window.Location.html
On Saturday, 6 May 2023 at 23:57:00 UTC+5:30 Vassilis Virvilis wrote:
> Hi,
>
> It is not clear from your description but let's assume that you have 2 GWT
>
Hi,
It is not clear from your description but let's assume that you have 2 GWT
applications. One runs at the toplevel window and one runs in an iframe. At
some point you want to reload the main page from the iframe.
The thing is the iframe thinks it runs in the main window. You have to
access