My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  Verified
Owner:  alex.id....@gmail.com
Closed:  Oct 2010


 
Project Member Reported by alex.id....@gmail.com, Dec 5, 2008
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
(No comment was entered for this change.)
Labels: -Priority-Medium Priority-Low
Oct 17, 2010
Project Member #2 alex.id....@gmail.com
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
Project Member #3 alex.id....@gmail.com
(No comment was entered for this change.)
Status: Fixed
Mar 23, 2011
Project Member #4 alex.id....@gmail.com
(No comment was entered for this change.)
Status: Verified

Powered by Google Project Hosting