Hide component decoration divs in a sightly component | Community
Skip to main content
Rima_Mittal
Level 4
Nov 18, 2016 11:32 AM UTC
Solved

Hide component decoration divs in a sightly component

I am  dropping my component(sightly) inside a parsys. The component gets wrapped by auto-generated wrapper divs.

when cq:noDecoration is set to true, the component becomes non-editable. 

P.S. None of the below mentioned code snippets in the activate method of wcmpojo class seem to work :

IncludeOptions.getOptions(request, true).forceSameContext(Boolean.TRUE);
getComponentContext().setDecorate(false);getComponentContext().setDefaultDecorationTagName("");getComponentContext().setDecorationTagName("");

Any suggestions?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Peter_Puzanovs
Peter_PuzanovsAccepted solution
New Participant
Nov 18, 2016 12:45 PM UTC

Apparently this is getting fixed in 6.3

You can request a patch from Adobe which you would back port to your 6.x AEM instance

 

Regards,

Peter

3 replies

Rima_Mittal
Level 4
Nov 19, 2016 4:29 AM UTC

Thanks Peter. This helped.

Translate
Peter_Puzanovs
Peter_PuzanovsAccepted solution
New Participant
Nov 18, 2016 12:45 PM UTC

Apparently this is getting fixed in 6.3

You can request a patch from Adobe which you would back port to your 6.x AEM instance

 

Regards,

Peter

Translate
Level 2
Feb 29, 2020 3:34 PM UTC
Seems this is still an issue
Translate