]> source.dussan.org Git - vaadin-framework.git/commit
Implement simple shared state as a Map (#8304) - work in progress
authorHenri Sara <hesara@vaadin.com>
Tue, 31 Jan 2012 12:46:15 +0000 (14:46 +0200)
committerHenri Sara <hesara@vaadin.com>
Tue, 31 Jan 2012 12:46:15 +0000 (14:46 +0200)
commitc763891bc1535f62e524b4d4ba5837ab53817dd9
tree7617bc3084014ab800f4c4023abba25c1c7d2d28
parenta2f79d1d362b0d535655bd9309fd85a2b03d92d1
Implement simple shared state as a Map (#8304) - work in progress

In this version, SharedState can return a map that will be transferred.
On the client side, shared state is deserialized from the map but not
used.

Shared state is not sent for nested components that have not been
painted yet - doing so requires refactoring of painting of components.
16 files changed:
src/com/vaadin/data/Buffered.java
src/com/vaadin/data/Validator.java
src/com/vaadin/terminal/CompositeErrorMessage.java
src/com/vaadin/terminal/Paintable.java
src/com/vaadin/terminal/SystemError.java
src/com/vaadin/terminal/UserError.java
src/com/vaadin/terminal/gwt/client/ApplicationConnection.java
src/com/vaadin/terminal/gwt/client/ComponentState.java [new file with mode: 0644]
src/com/vaadin/terminal/gwt/client/VPaintableMap.java
src/com/vaadin/terminal/gwt/client/ValueMap.java
src/com/vaadin/terminal/gwt/client/communication/JsonDecoder.java
src/com/vaadin/terminal/gwt/client/communication/JsonEncoder.java
src/com/vaadin/terminal/gwt/client/communication/SharedState.java [new file with mode: 0644]
src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java
src/com/vaadin/terminal/gwt/server/JsonCodec.java
src/com/vaadin/ui/AbstractComponent.java