Recursivley encode child components,
June 18, 2008 at 11:20 AM
In case you do not know the depth of the children components, rendering is tricky. For example, You have a role and permissions inside it. One permission can be dependant on another and it may be on another. You can recursively call the child components as: encodeRecursive( context, childComp ) in the for loop where you are iterating the child components in your encodeBegin method of your ABCRenderer class.
I got this solution after lot of difficulties. Hope this would help.