Hi Axel
Thank you for your response, here problem is I can do what you said, i can put result of above method and access it in template.
But this method returns collection of ChildRefAssoc, so how we will come to know which category belongs to which category, I mean how we will create tree structure with that.
Main category-1
category-11
category-12
Main category-2
category-21
category-211
category-212
category-213
category-22
for above tree structure, i want json response also in same tree structure, with each category id and its name.
regards,
Alfsender