I am using navigation API to open a page in a new window without the top-level navigation bars. As per the document, it should be possible through mode 1. But as i give the code as follows in my jsp page,
<hbj:content id="myContext" >
<hbj:form id="myFormId" >
<a href = "click here" onclick="return EPCM.doNavigate('ROLES://portal_content/PracticeI/vijay/just/simple-page','1')">Click here </a>
I get the link, and on clicking it, the page gets displayed along with the top-level navigation, masthead and other iviews. But i need the page content alone, just like what we see on clicking the preview button.
Can any one tell me the correct syntax to use EPCM.doNavigate() method along with mode?