AEM CQ:Listeners Node Tutorial
The purpose of this tutorial is to show you how to add the “cq:listeners” node to a component so when the component is modified the page will automatically refresh. You can read more about “cq:listeners” from a previous post I made here: cq:listeners node
For this tutorial we will be using crxde lite. This tutorial does not go into full detail, but does provide all the code that was used in the creation of this component for learning purposes.
For this tutorial I was using: AEM 6.0. You should be able to follow along with other versions of this software.
In order to follow along with this tutorial, you will need to have complete the following tutorial:
ShareThis Component Tutorial
If you have not completed the tutorial listed above, you can download a package from GitHub that has the completed component from here: ShareThis-AEM-Component. Just follow the instructions in the “readme” file to install the package into your instance of AEM.
If you have completed the previous steps, we can get started.