Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
(This question is also posted on Stack Overflow, in case you prefer to answer there.)
I’m working on a CQ 5.5 site. On our home page, I’m using an iparsys to inherit navigation from our root page:
<cq:include path="navigation" resourceType="foundation/components/iparsys" />
When I view the home page on our publish server, the navigation is rendered wrapped in a <div> with a class of “iparys_inherited”:
(Please note: this is not a typo on my part, this is the exact HTML we’re seeing.)
<div class="iparys_inherited"><!-- iparsys content appears here --></div>
We include a global JSP file in all our pages that, amongst other things, calls com.day.cq.wcm.api.components.ComponentContext.setDefaultDecorationTagName to turn off decoration tags in publish mode:
But this seems to have no effect on the iparys_inherited <div>.
Is there a way to stop this wrapper <div> being rendered?
Go to Solution.
View solution in original post