I’m afraid this is an area where we have prematurely removed an old slightly awkward and in some cases completely broken feature before any real replacement has been developed.
Rest assured that we are actively working on replacing Page.open(Resource) and similar methods with a mechanisms that should be more future-proof and that we will not release a final version of Vaadin 7.0.0 before the functionality is in place.
In the meantime, you can resort to using the Link(String, Resource) constructor for creating a link that the user can click to start the download. I am aware that this is not always acceptable for usability reasons, but it’s unfortunately the only reasonable way of starting a download until
#9524 has been implemented.
I am having similar problem in Vaadin 7.0. I tried to open a StreamResource for user to download a file when the user clicks a button (instead of a link). Page doesn’t seem to have the open API for Resource.
How can I achieve something like this: UI.getCurrent().getPage().open(new StreamResource (ss, "Filename.zip), “_blank”); ?