This content has been marked as final. Show 5 replies
You can create a VO from the pl/sql. Try that.
yes i can, but how I will bind it to tree?
Add the VO to an App module. Create a datacontrol for the app module. Now in you page whwn you drop the vo you will get the option
Ok. (btw, I am using Avrom's Package API-based framework)
1) I created Inheritors VO based on pl/sql function with binded variable
2) I created ViewLink from Class VO to Inheritors VO
it works GREAT, it worked like this few days already :), I can get inheritors list fine. but it just one level, I need to get in 2-3 levels down recursevly, displaying it like a tree
when I try to bind a tree I get this: screen
And do not know what to do next.
I will change my question a little bit.
I have pl/sql func: get_class_inheritors_tree(className)
Result is like this:
CCLASSNAME CCLASSNAME_SUPER LEVEL
child1 parent 1
child2 parent 1
grandChild21 child2 2
grandChild22 child2 2
grandChild11 child1 2
grandChild12 child1 2
How can I display this using af:tree like this: