Refreshing external window refreshes main window

Hi there,

when refreshing an external window, the main window is displayed in the external window (you can check this out at (see http://demo.vaadin.com/sampler#NativeWindow).
That means one cannot refresh external windows but refreshing external windows result in cloning the main window :wink:

Another question: is it possible to hide the location bar (containg the URL) of external windows?

Thanks in advance and best regards
Udo

P.S: please don’t reply “don’t use external windows” or so.
It has to be an external one, because it’s a file browser extension for CKEditor…

Hi,

See
https://vaadin.com/web/joonas/wiki/-/wiki/Main/Supporting+Multible+Tabs
and
https://vaadin.com/book/-/page/application.windows.html
for more information on support multiple tabs/windows - you have to write specific code (to do with naming of windows) to support multiple windows.

It is not really possible to hide the url on the current browser window. It is possible to open a new window in javascript, and ask it not to display the location : off the top of my head, I’m not sure if Vaadin exposes that. I do know that this is merely a request to the browser, and that Firefox by default will ignore this. (See http://stackoverflow.com/questions/2909645/open-new-popup-window-without-address-bars-in-firefox-ie)

Cheers,

Charles.

Hi Charles,

you’re right. javascript:window.open("http://www.vaadin.com", "Vaadin", "location=no"); works only in Safari while FF & Chrome still show the location bar. Didn’t know that they changed this…

Thank’s for the quick reply and the links!

Best Regards
Udo