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 4: Add support for having text elements in a serialized object
1 person starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  alex.id....@gmail.com
Closed:  Mar 2009


 
Project Member Reported by alex.id....@gmail.com, Dec 5, 2008
Support should be added for handling cases in which an object needs to be
serialized as or comes in the form of:

<object id="1">Content_string</object>

Thus, having a field of the object that needs to be serialized not as an
element (marked by its specific tags) or attribute but rather a simple text
contained within the tags of the parent object.

Mar 6, 2009
#1 nelson.s...@gmail.com
Hi,

First of all congrats on your serializer. I've decided to use it for a project I'm
working on. Unfortunately I really needed to be able to have support for node values
so I came up with a quick hack for having text elements in a serialized object.

Basically I define a valueField in the class annotation and this value is used as the
node's text.

I'm sending you a small diff of what I've done. Keep in mind I did this in a couple
of minutes and it could require more work and thought.
diff.patch
2.7 KB   View   Download
Mar 7, 2009
Project Member #2 alex.id....@gmail.com
Hi Nelson,

I'm glad my project helps you; basically, this is my goal :D.
Thanks for the Heads up on your change. I'll take a look on it also rior to solving 
this issue. I will focus on this issue first since another user contacted me about 
having such support.

Good luck with your project and please let me know if you have issues or suggestions 
for FlexXB.

Cheers,
Alex 
Labels: -Priority-Medium Priority-High
Mar 21, 2009
Project Member #3 alex.id....@gmail.com
Added support for default values.
Available in version 1.0.
Status: Fixed
Dec 28, 2009
Project Member #4 alex.id....@gmail.com
(No comment was entered for this change.)
Status: Verified

Powered by Google Project Hosting