I have a CQ5 component with a delete button in the author mode's edit view. Now there are two possible ways to include this component in a page:
- Statically via a cq:include tag
- Dynamically via a parsys component
How do I configure CQ5.5 to only show the delete button in the editbar when the component is shown within a parsys. When the component is statically included via a cq:include the delete button should not be shown as it's not possible to delete the component from the page in that case.
Any ideas?
I only found the following CQ5 documentation how to generally remove the delete button from the editbar: http://dev.day.com/docs/en/cq/5-5/developing/components/edit_config.html#cq:actions
Also the delete button is correctly shown and hidden if I do NOT use the layout editbar :/