I would like to remove the default DIV created for the each component. I have tried 'cq:nodecoration' true property this works fine but I'm unable to edit the component. Do we have any solution to remove the extra DIV. I'm using AEM6.0 SP2
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
can you revert your nodecoration code and try including
if (WCMMode.fromRequest(request) != WCMMode.EDIT && WCMMode.fromRequest(request) != WCMMode.DESIGN) { IncludeOptions.getOptions(request, true).forceSameContext(Boolean.TRUE); }
in your global,jsp, so that it will be for all components
Views
Replies
Total Likes
Hi,
can you revert your nodecoration code and try including
if (WCMMode.fromRequest(request) != WCMMode.EDIT && WCMMode.fromRequest(request) != WCMMode.DESIGN) { IncludeOptions.getOptions(request, true).forceSameContext(Boolean.TRUE); }
in your global,jsp, so that it will be for all components
Views
Replies
Total Likes
You could try adding a cq:editConfig node and setting the edit type to editbar and placing the edit options there.
Views
Replies
Total Likes
Thanks for your response. I already checked that option, no luck.
Views
Replies
Total Likes