Fredric Berling
16 Jun 2008, 4:25 AM
Im trying to build a Tree with the Treepanel object . My idea is to build the tree from the documents in a view using readviewentries&outputformat=JSON.
Problem is that the TreePanel requires that there are certain attributs present in the JSON.
Like "children" to be able to build a tree out of it.
Anyone has any nice ideas to approach this?. Creating the json in an agent suddenly seems very "stone age". Maybe there is some kind of xpath blabla thing that can alter the output from domino ?
Im new to TreePanel so any other suggestions would be appriciated. Maybe some XML approach?
Problem is that the TreePanel requires that there are certain attributs present in the JSON.
Like "children" to be able to build a tree out of it.
Anyone has any nice ideas to approach this?. Creating the json in an agent suddenly seems very "stone age". Maybe there is some kind of xpath blabla thing that can alter the output from domino ?
Im new to TreePanel so any other suggestions would be appriciated. Maybe some XML approach?