NestedSet behavior with CTreeView

Hi all,

any one can help me to retreive the data from model with the nestedset behavior to display it with the CTreeView widget I think is a recursive thing that I must implement but I dont know how.

Thank you ?

Thank you i will try to adapt this to yii nestedSet behavior