Vaadin client-side functionality

Hello,

I would like to implement a client-side functionality but don’t know how to start. What I need is to download a file of the object, which could be stored in cookies or something, in case the connection is dropped.

Is it possibe with vaadin to develop such a functionality?

Thanks.

Hi,

unfortunately I don’t exactly understand what you want to do, so please clarify the use case a bit. Anyway, cookies can only store around 4kB of text data. Better option would be html5 local storage which can store at least 5MB - also text data but you could encode a binary file there too.

You can find examples of local storage use in the vaadin touchkit parking demo code.

-tepi