]> source.dussan.org Git - vaadin-framework.git/commit
Encode all values based on declared type (#10549) 17/517/3
authorLeif Åstrand <leif@vaadin.com>
Tue, 18 Dec 2012 13:07:21 +0000 (15:07 +0200)
committerVaadin Code Review <review@vaadin.com>
Tue, 18 Dec 2012 13:35:12 +0000 (13:35 +0000)
commita6ffd484283353825470988bf2d13093685d2761
tree4beab888aac6ecf37a318d2eb68f1dd433acbf1e
parentca967cbe1d927d7acf5cb72683265557e0b46360
Encode all values based on declared type (#10549)

* ServerRpc encoding uses type data from the interface
* Beans encoded on the server use reflection based on declared type
* Remove row numbers to enable adding test without changing old indices
* Update test to send non-primitive map values

Change-Id: I0462b547cb7de252564b3569420b0b24cee4515f
client-compiler/src/com/vaadin/server/widgetsetutils/metadata/ArraySerializer.java
client-compiler/src/com/vaadin/server/widgetsetutils/metadata/ServerRpcVisitor.java
client/src/com/vaadin/client/ApplicationConnection.java
client/src/com/vaadin/client/communication/JsonEncoder.java
client/src/com/vaadin/client/communication/URLReference_Serializer.java
server/src/com/vaadin/server/JsonCodec.java
uitest/src/com/vaadin/tests/serialization/SerializerTest.html
uitest/src/com/vaadin/tests/serialization/SerializerTest.java
uitest/src/com/vaadin/tests/widgetset/client/SerializerTestConnector.java
uitest/src/com/vaadin/tests/widgetset/client/SerializerTestRpc.java