I'm trying to create a treeList and populate it with nodes, however it seems the constructors of these native objects (list, node, treeList, tree, nodeList) are obscured. The only "solution" (really ugly piece of coding) I've found so far is this:
var myTreeList = xfa.resolveNodes("a node that does not exist"); // "fool" the framework to give me an empty treeList.
myTreeList.append(/* start populating */);
I simply refuse to write that. Any ideas?