1 Reply Latest reply on Apr 25, 2006 11:41 AM by hassan_iitg

    IFRAME tag does not work in portlet

    hassan_iitg

      Hello all,
      My portlet code is generating the below html

      <HEAD>
       <TITLE>Distribution Channel Management</TITLE>
       <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
       <SCRIPT language="JavaScript" src="/DMS/ui_scripts/UIEvent.js"></SCRIPT>
       <SCRIPT language="JavaScript" src="/DMS/ui_scripts/FormatUtils.js"></SCRIPT>
       <SCRIPT language="JavaScript" src="/DMS/awc/scripts/awc_top_level.js"></SCRIPT>
       <SCRIPT language="JavaScript" src="/DMS/awc/scripts/awc_all_level.js"></SCRIPT>
       <SCRIPT language="JavaScript" src="/DMS/canvas/lib/CanvasAppUtils.js"></SCRIPT>
       <xml id="table_xsl" src="/DMS/awc/xml/awc_table.xsl"></xml>
       <SCRIPT language="JavaScript">
       function onEvent(e) {
       if( e.type == 'pageswitch' ) {
       propagate('toolbar',e);
       return propagate('container',e);
       } else {
       propagate('toolbar',e);
       propagate('navbar',e);
       propagate('container',e);
       }
       }
       </SCRIPT>
       </HEAD>
       <IFRAME name="navbar" width="100%" height="10%" scrolling="no" noresize src="/DMS/navbar.jsp?AppName=DMS.DMS&UIOBJECT=NQZ1ZZQ5SX1FLXO0U3Z3FEQS1OYZZZZZ&OBJECT=DMSHome">
       <IFRAME name="container" width="100%" height="90%" scrolling="no" noresize src="/DMS/servlet/com.trilogy.fs.dms.uicore.FrameRendererServlet?url=/dcm/servlet/com.trilogy.fs.dms.uicore.DMSCompoundPageServlet&AppName=DMS.DMS&PAGE=DMSHome.Welcome">
       <HEAD><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"></HEAD>
       </HTML>
      

      The jsp/servlet mentioned in the IFRAME tag above are called and executes without any errors. But the resulting html is not shown by the portlets.
      Is there anything that I am doing wrong or the IFRAME tags are not allowed by the Jboss portlets.
      I went through the errata of the portlet specification. It says that the IFRAME can be used but is should not break the portlet paridgm.