I'm trying to show some data in a Tree component and I've somo doubts
that i've not been able to solve, the XML I receive from an
HTTPService is like:
<list>
<TreeVO>
<id_menu>1001</id_menu>
<name>Managemet</name>
<id_father>0</id_father>
<type>Menu</type>
<children>
<TreeVO>
<id_menu>1012</id_menu>
<name>Notified</name>
<id_father>0</id_father>
<type>List</type>
<children/>
</TreeVO>
<TreeVO>
<id_menu>1006</id_menu>
<name>All</name>
<id_father>0</id_father>
<type>List</type>
<children/>
</TreeVO>
</children>
</TreeVO>
<TreeVO>
<id_menu>1005</id_menu>
<name>Everything</name>
<id_father>0</id_father>
<type>List</type>
<children/>
</TreeVO>
<TreeVO>
<id_menu>1007</id_menu>
<name>Pending</name>
<id_father>0</id_father>
<type>Lista</type>
<children/>
</TreeVO>
</list>
Is this XML malformed??
Im trying to show it doing : treeData1 = (event.result as
XML)..TreeVO;
But, how can I manage the children attribute so the structure can be
shown? Now I'm not getting nothing on the tree.
Thanks a lot!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---