REFRESH_PAGE - Not being executed when children are edited | Community
Skip to main content
Level 4
August 23, 2016

REFRESH_PAGE - Not being executed when children are edited

  • August 23, 2016
  • 1 reply
  • 982 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

smacdonald2008
Level 10
August 23, 2016

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.