You can invoke a Sling Servlet to populate the TreePanel object. That is, the TreePanel object displays the data that is retrieved from the AEM JCR by using a Sling Servlet. The data that is displayed within the TreePanel can be expanded or collapsed by clicking on it.
The TreePanel lets an AEM author view the data that is returned by the Servlet, as shown in the following illustration.
An AEM TreePanel component displaying a data result set based on the AEM JCR
To read this development article, click http://helpx.adobe.com/experience-manager/using/creating-custom-cq-tree.html.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.