Expand my Community achievements bar.

REFRESH_PAGE - Not being executed when children are edited

Avatar

Level 5

I'm using AEM 6.0 SP3

In the touch UI I have created a Component (i.e. ComponentA).  It can (and WILL) contain other components.

When the parent (ComponentA) OR children are edited, inserted or moved I would like to refresh the page.

This is the cq:listeners for the parent component:

    <cq:listeners
        jcr:primaryType="cq:EditListenersConfig"
        afterchildinsert="REFRESH_PAGE"
        aftercopy="REFRESH_PAGE"
        afteredit="REFRESH_PAGE"
        afterinsert="REFRESH_PAGE"
        aftermove="REFRESH_PAGE"/>

Is there any way to accomplish this without changing the cq:listeners for ALL components?

Thank you in advance,

-Dean

1 Reply

Avatar

Level 10

Although this is an older KB, it supports using event listeners like what you have done:  https://helpx.adobe.com/experience-manager/kb/RefreshPageWhenModifyDialog.html. I will check with internal ppl as well.