Hi all,
I need to know, Whether how to disable the system messages in vaadin 7?
I used this,
protected void init(VaadinRequest request) {
.....
.....
.....
}
public static SystemMessages getSystemMessages() {
CustomizedSystemMessages messsages = new CustomizedSystemMessages();
messsages.setSessionExpiredNotificationEnabled(false);
messsages.setSessionExpiredURL(VaadinService.getCurrentRequest().getContextPath());
messsages.setCommunicationErrorURL(VaadinService.getCurrentRequest().getContextPath());
messsages.setAuthenticationErrorURL(VaadinService.getCurrentRequest().getContextPath());
messsages.setInternalErrorURL(VaadinService.getCurrentRequest().getContextPath());
messsages.setSessionExpiredURL(VaadinService.getCurrentRequest().getContextPath());
messsages.setCommunicationErrorURL(VaadinService.getCurrentRequest().getContextPath());
return messsages;
}
But its still showing the same messages as red colored popup.
can any one help me over this…
Thanks in advance for your kind reply.
Regards,
Aravind