Skip to Content
0
Former Member
Mar 16, 2007 at 06:19 AM

Need explanation about DefaultFramework Layout

26 Views

hai friends,

i downloaded the PAR file of the default frame work layout provided by SAP in EP7.the coding is given below

<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj" %>
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>

<%@ page import="com.sapportals.portal.pb.layout.taglib.variabledef.RunMode" %>

<%
  RunMode pageRunMode = null;
%>
<lyt:template>
<%
 pageRunMode = epPageVariables.getRunMode();
 if(pageRunMode == RunMode.RUN_TIME){
%>
    <script>
        document.body.style.margin=0;
        document.body.scroll = "no";
       
       
    </script>
 <%}%>

    <hbj:content id="myContext" >
        <hbj:page title="Portal Page">
            <lyt:container id="frameworkColumn" />
        </hbj:page>
    </hbj:content>
</lyt:template>

<%
 if(pageRunMode == RunMode.RUN_TIME){
%>
    <script>
        // Set the Top Level Navigation iView size and position.
        EPCM.raiseEvent("urn:com.sapportals:toplevelnavigation", "Onload", null);
    </script>
 <%}%>

in this i understood everything except the EPCM part.they have given the purpose as to set the Top Level Navigation iView size and position.but i want to know how it sets,where is the subscribe event for that.

if anybody knows please help me....

if u have more details about it please send that also...

regards,

Tamil K