Hi,
If there are few components that are included in template level like..
<cq:include path="navigation" resourceType="apps/project/component/navigation" />
When these will gets included and we do right click on them, delete option comes up. I want to give functionality to delete those component.
Please share you views.
Solved! Go to Solution.
Views
Replies
Total Likes
You made it part of template & can;t remove it. Following are the option..
1) create another component that uses the earlier one as its super type. In the new component remove the include. On all the existing content fix the node structure and to point to new component.
OR
2) Make use the "BYPASS_COMPONENT_HANDLING_ON_INCLUDE_ATTRIBUTE
" from componentcontext
http://docs.adobe.com/docs/v5_1/cq-wcm-javadoc/com/day/cq/wcm/api/components/ComponentContext.html
Views
Replies
Total Likes
You made it part of template & can;t remove it. Following are the option..
1) create another component that uses the earlier one as its super type. In the new component remove the include. On all the existing content fix the node structure and to point to new component.
OR
2) Make use the "BYPASS_COMPONENT_HANDLING_ON_INCLUDE_ATTRIBUTE
" from componentcontext
http://docs.adobe.com/docs/v5_1/cq-wcm-javadoc/com/day/cq/wcm/api/components/ComponentContext.html
Views
Replies
Total Likes