Never actually tried it (I’m working in a portal-environment) but instead of opening the URL in your Applivcation’s main Window you should add another one and use that for opening the URL.
Is there any news on this issue? I am looking for a way to have an external link inside a menu and it seems to be impossible. I tried it like this:
menuItem.addItem("Visit Vaadin", new Command() {
public void menuSelected(MenuItem selectedItem) {
Page.getCurrent().open("https://vaadin.com", "_blank");
}
});
But web browsers will block this depending on their settings. They don’t block normal links though.