Widgets' s client ability in Vaadin 7

Hi all. I am now running all my UI logics in server. However, I find the xhr requests sometimes are too frequently. I wonder how can I put some UI logics in clinet only.
Thanks for your time.

Hi,

one option would be to check the immediateness of your components (see setImmediate method) - you might not want to send all the changes in fields and such to the server in real time.

Moving some UI logic to the client is possible, but could be a lot of work depending on said logic. Basically you’ll have to switch from the server-side coding to using GWT and creating larger components/composites handled purely on the client.

For simple stuff you could take a look at the Snappy add-on:
http://vaadin.com/directory/#addon/snappy:vaadin