To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I am using an iframe inside a static html page to display a vaadin component, when the user clicks a button on the vaadin component, i would like to redirect them to another url, could someone help with me how to do this?
i have tried the following but it just opens the new url inside the iframe
what is the variable 'm' in your code example? i bet it is still the window api you are coding against? try using the method open(Resource resource, String windowName) instead of the one that you are using . You should be able to name your main parent frame as well and refer to that, but maybe "_top" works as well.