Removing extra decoration tags in CQ5.6
Hi ,
From a earlier post (http://forums.adobe.com/message/5395368) it is mentioned that global.jsp can be updated with extra code to avoid getting CQ decoration tags in publish instance . However when I tried it with a simple example , decoration tags with substrings 'parsys' or 'parbase' get removed but still some extra divs gets appended in place.So the case I tested is ,
My template page component is testpage.jsp which simply has a cq:include for a parsys apart from inclusion of global.jsp . Then I have a simple dialog component (block.jsp and a clientlib for css) which I dragged and dropped in to the parsys .Block.jsp has three simple divs enclosed in a div .
The markups which were generated are as follows . The div's in bold are the extra one's being generated .
Update in Global.jsp - Preview mode
--------------------------
<div class="parsys parsys1">
<div class="block1 section">
<link rel="stylesheet" href="https://forums.adobe.com/apps/training/components/block1/clientlibs.css" type="text/css"><div>
<div><div>A.</div> <p>...grabbed hold of a bright, plump lemon and squeezed.</p> </div>
<div><div>B.</div> <p>...waved her hands in the air like she just didn't care.</p> </div>
<div><div>C.</div> <p>...was promptly shot in the face by the tree's owner.</p> </div>
</div></div></div>
------------------------------------------------
Update in Global.jsp - Publish mode
-------------------
<div class="page testpage">
<div class="page testpage section">
<link rel="stylesheet" href="https://forums.adobe.com/apps/training/components/block1/clientlibs.css" type="text/css">
<link rel="stylesheet" href="https://forums.adobe.com/apps/training/components/block1/clientlibs.css" type="text/css"><div>
<div><div>A.</div> <p>...grabbed hold of a bright, plump lemon and squeezed.</p> </div>
<div><div>B.</div> <p>...waved her hands in the air like she just didn't care.</p> </div>
<div><div>C.</div> <p>...was promptly shot in the face by the tree's owner.</p> </div>
</div></div></div>
------------------------------------
No update in Global.jsp - Publish mode
-----------------
<div class="parsys parsys1">
<div class="block1 section">
<link rel="stylesheet" href="https://forums.adobe.com/apps/training/components/block1/clientlibs.css" type="text/css">
<link rel="stylesheet" href="https://forums.adobe.com/apps/training/components/block1/clientlibs.css" type="text/css"><div>
<div><div>A.</div> <p>...grabbed hold of a bright, plump lemon and squeezed.</p> </div>
<div><div>B.</div> <p>...waved her hands in the air like she just didn't care.</p> </div>
<div><div>C.</div> <p>...was promptly shot in the face by the tree's owner.</p> </div>
</div></div></div>
Appreciate any pointers or leads on this .
regards
Krishna