Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Hide component decoration divs in a sightly component

Avatar

Level 4

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

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