Purpose: I want to refresh parsys component after deleting child component in it.
So far, after insert component into parsys there is Extjs function to refresh the parsys, just configure as below under [parsys/cq_editConfig/cq:listener]
<cq:listeners jcr:primaryType="cq:EditListenersConfig" afteredit="REFRESH_SELF" afterchildinsert="REFRESH_SELF"/>
But there is no [afterchilddelete] function to configure.
Thanks :)
Solved! Go to Solution.
Views
Replies
Total Likes
You can rather add "afterdelete" on the child component and use action as "REFRESH_PARENT".
That should refresh container after that component is deleted
You can rather add "afterdelete" on the child component and use action as "REFRESH_PARENT".
That should refresh container after that component is deleted
@Jacleng Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes