How to remove the showNotification dialog from the winodw ?

Hi all,

In my vaadin application , i am showing the dialog continuously ,then the dialog is added over and over on the screen . How to remove the dialog from window before i call,

getwindow().showNotification( " ");

Please give some solution.

Thank you by

RAJESH THANGA

Hi,

Notifications can’t be closed programmatically from the server side, only the end user can close them/make them dissappear. An alternative would be to use an actual sub-window (with possible alternative theming), which you can close programmatically.

-Jouni

Hi sir ,

       Thank you for your quick response.How to override the default window style?.
      I tried like this.But it only changes the contents to green color.
       
        .v-window,

.v-window-black,
.v-window-closebox,
.v-window-contents,
.v-window-dialog,
.v-window-error
.v-window-footer,
.v-window-header-newColor
{
background-color: green;
}

Please give some solution.

Thank you.