| Issue 5: | Allow the user to specify a name that will be used for sending a sub-object that will be rendered as an Element only as an ID | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Let' say you have an object whose representation is: <object att1="bla"> <elem1>...</elem1> <elem2>...</elem2> </object> There should be an option to specify that a sub object(represented by elem2) should be serialized an only an Id and on deserialization got from the ModelObjectCache directly if only sent with an Id. Eg.: <object att1="bla"> <elem1>...</elem1> <elem2Id>4</elem2Id> </object> If the server send something like above, the serializer should know that elem2Id represents the Id of an object of type elem2 and it should get that object from the cache if it exists. Also you should be able to configure the serializer to serialize that object as an Id only.
Apr 11, 2009
Project Member
#1
alex.id....@gmail.com
Labels:
-Priority-Medium Priority-Low
Oct 17, 2010
This can be achieved by the circular reference handling mechanism (ID, IDREF) implemented for 1.7.0
Labels:
Milestone-1.7.0
Oct 25, 2010
(No comment was entered for this change.)
Status:
Fixed
Mar 23, 2011
(No comment was entered for this change.)
Status:
Verified
|