When i am using teaser in my site creation.. it is creating extra div??
Is there any way to get rid of it....it is changing my design layout
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Add this piece of code in global.jsp of your project to avoid extra div generated by AEM:
<%
if (WCMMode.fromRequest(request) != WCMMode.EDIT && WCMMode.fromRequest(request) != WCMMode.DESIGN) {
componentContext.setDefaultDecorationTagName( "" );
}
%>
Views
Replies
Total Likes
Here is an older community thread that talks about a related subject:
Views
Replies
Total Likes
Hi,
Add this piece of code in global.jsp of your project to avoid extra div generated by AEM:
<%
if (WCMMode.fromRequest(request) != WCMMode.EDIT && WCMMode.fromRequest(request) != WCMMode.DESIGN) {
componentContext.setDefaultDecorationTagName( "" );
}
%>
Views
Replies
Total Likes
i have already used this but in the teaser section i m facing this issue again
Views
Replies
Total Likes
Views
Likes
Replies