Close Notification in Vaadin 7

Hi All,

In Vaadin 7 notifications is showed via “”. Other methods is deprecated.
How i can close notification from code?
It’s needed for Browser’s “back” and “forward” buttons.

Any suggestion?


It’s currently not possible to close notifications through the server-side API. A client-side extension or some (probably simple) JavaScript trick might work.

Indeed the problem seems to be a valid issue, as it seems to be possible to navigate browser history while an error notification remains visible. There’s ticket
about it. There’s also
about closing notifications programmatically from server-side, which would work as a workaround. The other one is probably duplicate, so I’ll mark it as one.