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 the parent and do the reload.

If the iframe and the main window is on the same domain then

   -
   https://stackoverflow.com/questions/11207900/change-parent-url-from-iframe
   -
   
https://stackoverflow.com/questions/4361479/how-do-i-change-the-url-of-the-parent-frame

If the iframe and main window are not on the same domain then maybe it is
more difficult.

Hope that helps.


On Sat, May 6, 2023 at 1:04 PM JaldiSeDekho <bandyamad...@gmail.com> wrote:

> Hi Everyone,
>
> I am having a GWT page with a Header, Left Nav and an iFrame besides the
> left nav which reloads.
>
> After a particular condition on a button reload I want the complete
> browsers page to reload, hence I am hitting the Window.Location.reload()
> however this is reloading the iFrame and not the browsers page.
> I even tried to assign Window.Location.assign(<URL>) like this, however it
> opened the URL inside the iFrame.
>
> Kindly help how I can reload the browsers window completely.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit/dd2d3dfd-346d-4135-ab67-569462322862n%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit/dd2d3dfd-346d-4135-ab67-569462322862n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Vassilis Virvilis

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/CAKbOjEy7AeOsqYYozwMTB6fy4JwK3Oe_-X%2Bq_XM%3D2H2c%2BwU4WA%40mail.gmail.com.

Reply via email to