Vaadin & Vaadin TouchKit

Hello everybody.

At the beginning, I need to excuse for long text but i need answers.

I start with standard Vaadin.

  1. What is the mechanism of loading application? (steps - please details).

Vaadin TouchKit

  1. Is there any tutorial, manual how to work with Vaadin TouchKit 4.0.0 ? (I’ve got some problems to simulate offline mode with info given in basic manual)

  2. Imagine i got component which represent some object (for easier way the component / object contains only 2 attributes (int) id and (string) value. The components are in VerticalComponentGroup. Every component implements for example click listener which open detail view of the component to edit. But what if connection is broken and touchkit decide to go offline.

The click listnener will not fire event to server, but i still want to localy modify values on each component, store the changes (for example in local storage) and after connection is restored push changes to server which will persist them.

Question: how can i access the data on client? Because normal way is that click listener fire event to server which create detail view and send the request to repaint to client side.

For this purpose i need to create custom widget which handles the click listener and create the detail by own (the gwt - client side widget)? Or what is the best way?