Confirm Popup Notification


There’s no Confirm Popup Notification, so i tried to create a modal window in my BeanForm (extends Form)

but Vaadin launchs an error message : You can only add windows inside application-level windows

Could you help me ?

Thank you for your reply


You tried to add the new (sub)window to another subwindow; subwindows can only be added to toplevel windows.

How to fix your particular ‘properly’ situation depends on your situation, but this should work (although ugly):


(If you have not enabled ‘native windowing’, a.k.a multiple browser tabs, you could just add the new window to your main window - but that will break if you enable native windowing later…)

Best Regards,

And for a simple confirm dialog don’t miss this:

(Also there you have to make sure the parent window is a main level window)