May 10, 2020
Estimated Post Reading Time ~

On parsys drag&drop

If you miss the "insert" and "copymove" actions in the .content.xml of your custom component, then you will not be able to move your component within the parsys via the drag-and-drop mechanism.

<jcr:root
   xmlns:cq="http://www.day.com/jcr/cq/1.0" 
   xmlns:jcr="http://www.jcp.org/jcr/1.0" 
   cq:actions="[edit,-,delete,insert,copymove]" 
   jcr:primarytype="cq:EditConfig" >
</jcr:root>

However, adding these actions will create new context menus, such as cut, copy, paste, new...
If you want to enable the drag-and-drop mechanism but disable or hide the actions' context menu, then that is another story. I'm still finding the proper way of doing it.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.