PDA

View Full Version : Tree is not rendered appropriately from xml



Sohil.Patel
12 Sep 2013, 6:30 PM
I have tried creating the tree using below xml but only nodes names under ProductGroup appears but not its child nodes names under Project. I have also tried to set association with hasMany and belongsTo but no success.

<?xml version="1.0" encoding="UTF-8"?>
<ProjectList>
<ProductGroup>
<name>Product 1</name>
<Project>
<name>Project A</name>
</Project>
<Project>
<name>Project B</name>
</Project>
</ProductGroup>
<ProductGroup>
<name>Product 2</name>
<Project>
<name>Project A</name>
</Project>
<Project>
<name>Project B</name>
</Project>
</ProductGroup>
</ProjectList>

Gary Schlosberg
16 Sep 2013, 9:35 AM
Might just be a configuration issue. Can you post the code you are using to load this data?