Monday, 3 March 2014

Invoking Sling Servlets from AEM xtype widgets

You can create an Adobe Experience Manager (AEM) custom component that contains a TreePanel xtype object that displays tree-structured data, such as a data result set that contains JCR data. The TreePanel is an instance of CQ.Ext.tree.TreePanel. For information, see CQ.Ext.tree.TreePanel.

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.

Join the Adobe Experience Cloud Community 

Join the Adobe Experience Cloud Community by clicking this banner




I (Scott Macdonald) am a Senior Digital Marketing Community Manager at Adobe Systems with 20 years in the high tech industry. I am also a programmer with knowledge in Java, JavaScript, C#,C++, HTML, XML and ActionScript. If  you would like to see more CQ or other Adobe Digital Marketing end to end articles like this, then leave a comment and let me know what content you would like to see.


TwitterFollow the Digital Marketing Customer Care team on Twitter @AdobeExpCare.

YouTube: Subscribe to the AEM Community Channel


No comments:

Post a Comment