-
18 Oct 2010 3:20 AM #1
Nested Xml with associations?
Nested Xml with associations?
Hello, I have been playing with Touch for a couple of days, and now I have a question.
If you read xml data via a store, can you use the different associations to read nested data?
For instance I have a 'person' and he has several friends, but the number of friends is unknown. I saw the 'Ext.data.associations' on the API doc, but the Json example of the 'belongstoassociation' doesn't work when I try to convert it to XML.
PHP Code:<person>
<id>1</id>
<name>Smith</name>
<friends>
<friend>
<id>2</id>
</friend>
<friend>
<id>3</id>
</friend>
<friend>
<id>...</id>
</friend>
</friends>
<other params>...</other params>
</person>
-
19 Nov 2010 10:22 AM #2
it seems it's already unsolved... i got the same issue...
-
22 Nov 2010 5:43 PM #3Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
FYI this is resolved as of the next release. See http://www.sencha.com/forum/showthre...ations-to-work for details. The next patch release is imminent.
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
15 Feb 2012 3:46 AM #4Swarnendu
Co-founder & Lead Architect @ Innofied
------------------
I blog at http://www.swarnendude.com
Similar Threads
-
Loading data from associations
By omarc in forum Sencha Touch 1.x: DiscussionReplies: 2Last Post: 10 Dec 2010, 6:09 PM -
Error in associations (0.96)
By herkulano in forum Sencha Touch 1.x: DiscussionReplies: 8Last Post: 22 Oct 2010, 11:07 AM -
Nested XML reader...
By lincStar in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 31 Dec 2009, 4:06 AM -
Nested View Objects/Nested Xml collections
By dwebsubmit in forum Ext 1.x: Help & DiscussionReplies: 10Last Post: 11 Oct 2007, 2:30 PM


Reply With Quote
