How to programmatically enable / disable cq:noDecoration?
Hello All,
I have a problem where the overall page renders HTML elements as expected in the publisher when cq:noDecoration is set to "true" on a given component.
However, when cq:noDecoration is set to "true", I cannot edit and make any changes my component; the dialogue does not show. When I set the value to false, it works again, but I the publisher needs the value cq:noDecoration=true.
Is there a nice way for me to programmatically set cq:noDecoration to true only on "author mode"?
Requirement:
- only set cq:noDecoration to "true" in author mode.
- only set cq:noDecoration to "false" that is not author mode.
My Component is JSP.
