Unable to edit included components immediately after dragging to page | Community
Skip to main content
Level 2
October 16, 2015
Solved

Unable to edit included components immediately after dragging to page

  • October 16, 2015
  • 1 reply
  • 773 views

If I have 2 components, A and B, and component A includes component B in the JSP like <cq:include path="pathB" resourceType="myApp/components/componentB" />, and I drag component A onto a page, I can edit component A, but if I want to edit component B, I need to refresh the page. Is there a work around for this? I'm using v5.4; is this behavior updated in newer versions?

Thanks

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

Have you added listener to the component B 

afterinsert => REFRESH_PAGE
afterremove => REFRESH_PAGE
aftermove => REFRESH_PAGE

 

1 reply

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Have you added listener to the component B 

afterinsert => REFRESH_PAGE
afterremove => REFRESH_PAGE
aftermove => REFRESH_PAGE