I'm using DD4T Java version 2 and enabling SiteEdit(Experience Manager). By configuring siteeditsettings.xml, div tag and HTML comment "Start Component Presentation" are generated automatically for all component presentation.
But I have some CT that I don't want to enable SiteEdit. Is it possible to exclude specific CT from enabling SiteEdit?
(For instance, on Compound Template, it's possible by removing "Enable inline editing for content" TBB from CT.)
Regards,
Workaround
The component template which generates meta tag is assigned to region "Meta". I Wrote following code in page template JSP, then SiteEdit tag is not generated.
<c:forEach var="renderedComponent" items="${ContentModel.getRenderedComponents().get('Meta')}">
<c:set var="meta" value="${renderedComponent.getCp().getComponent()}"/>
<meta name="keywords" content="${Here's code to output value of component}" />
<meta name="description" content="${Here's code to output value of component)}" />