Open URL in Vaadin 7

I’m sorry for this. newbie question. All I want to do is to programmatically redirect the browser to an (external) URL from within a CustomComponent. No new windows, no popups or other shenanigans.
All googeling told me to use the mainWindow’s open() function like

getApplication().getMainWindow().open() but I figure that this only applies to Vaadin 6 because neither in the docs nor in my app can I find functions like getApplication or getMainWindow.

Any help is appreciated, thanks in advance!

MyUI.getCurrent().getPage().open(urlString, ""); got it :slight_smile: