hi everyone. my app is working fine but im trying to tidy it up a bit. when a user makes a new account, a successful message is shown. when they click the x. they have to click a back link. i would like to redirect them when the x is clicked. here is my notification pop up. im using vaadin 7 by the way.
here is the UI that i would like to redirect to when the notification window is closed. could anyone give me a hand?
UI.getCurrent().getPage().setLocation(Constants.HOME);
but the users is also redirected if the delay is up. (if you don’t want the users to press any buttons others than the notification set the delay to -1)
hi michael. im using vaadin 7 and i dont believe it has that listener. i dont have the addcloselistener option when i check its methods. is there a way to force vaadin 8 on the notification alone? i tried upgrading to vaadin 8 but it broke a lot of things.