Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Handling communication errors on client side
Hi,
I need some tips how to handle communication errors in case customer has a instable/bad internet connection.
Currently, in our Vaadin application, first unanswered UIDL request provides to "communication error" on the client side.
It meens customer must reload last page and all unsaved forms are lost.
Is there a possibility to cache some data or to ignore unanswered UIDL requests for paar seconds?
Or may be we should configure our ui components so that clients sends UIDL request only by clicking on submit button?
- textField.setImmediate(false), comboBox.setImmediate(false), etc.?
I know about vaadin touch offline mode, but it is a enterprise feature that we don't realy need.
Hi,
please updgrade to Vaadin 7.6.1. It includes a redesigned communications handling with reconnection support which you can configure yourself. This should handle most situations fine. More info at https://vaadin.com/blog/-/blogs/vaadin-7-6-preview-improved-communication-mechanism
-tepi