[CLOSED] Autoload portlet

  1. #1

    [CLOSED] Autoload portlet

    Hi,
    If I access the site directly http://sigescom.com.br/docs/uml/index.html it works.
    But if I use the code below ... the site doesn't load

     <ext:Portal ID="Portal5" runat="server" Border="false" BodyStyle="background-color: transparent;"
                                    Layout="Anchor" AnchorVertical="100%" AnchorHorizontal="100%" Title="UML" Collapsible="false"
                                    IconCls="uml_ico">
                                    <Items>
                                        <ext:Portlet ID="Portlet3" runat="server" Title="" Layout="Anchor" AnchorVertical="100%"
                                            AnchorHorizontal="100%" Collapsible="false">
                                            <AutoLoad Url="http://sigescom.com.br/docs/uml/index.html" Mode="IFrame">
                                            </AutoLoad>
                                        </ext:Portlet>
                                    </Items>
    </ext:Portal>
    Last edited by Daniil; Jun 13, 2011 at 3:54 PM. Reason: [CLOSED]
  2. #2
    Hi,

    It is problem in that page, browser shows that javascript error is occured (http://sigescom.com.br/docs/uml/js/displayToc.js:587)
    I guess that the page doesn't support iframe
  3. #3
    Hi,

    Here is the code of DisplayToc.js
    http://pastebin.com/D2drza3H

    ------------------------------------------------------------------------------------------------------------------
    index.html
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>ERP.Net</title>
    <link href="css/ea.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" src="js/displayToc.js" type="text/javascript"></script>
    </head>
    <body onload="initLoad(this,'toc.html','./EARoot/EA5/EA1840.html')" onresize="resizePage()">
    <div class="IndexTitle">
    	ERP.Net
    </div>
    <div class="IndexHeader" id="IndexHeader" align='right'>
    	<p>ERP.Net - Parceria Decon - Unimake</p>
    </div>
    <noscript>
    	<div class="NoScript">
    		It appears that you may have Javascript disabled.
    	</div>
    </noscript>
    </body>
    </html>
    ------------------------------------------------------------------------------------------------------------------
    page of right side
    http://pastebin.com/GzwSTMeG

    ------------------------------------------------------------------------------------------------------------------
    toc.html
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script src="js/displayToc.js"></script>
    <link rel="stylesheet" href="css/eacont.css" />
    </head>
    <body onload="tocInit()">
    </body>
    </html>
    ------------------------------------------------------------------------------------------------------------------

    I did a simple test and I created a page named Index2.html, I used this code
    <iframe src="http://sigescom.com.br/docs/uml/" height="600px" width="800px"></iframe>
    and you right. the page not load correctly.

    I will understand if you can't help me because the error not on ext.net.

    Thanks :)
  4. #4
    I've got Access Denied error as well when tried
    http://sigescom.com.br/docs/uml/
    as IFrame.

    Well, we really can't help, because we can't make that page to allow IFrame mode.

Similar Threads

  1. Direct Method Portlet Autoload Mode Merge
    By testix in forum 1.x Help
    Replies: 3
    Last Post: Jan 20, 2012, 1:03 PM
  2. [CLOSED] Portlet question
    By VALUELAB in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Jul 14, 2011, 1:19 PM
  3. Replies: 2
    Last Post: Dec 25, 2010, 11:07 AM
  4. Replies: 4
    Last Post: Apr 08, 2010, 8:05 PM
  5. Replies: 0
    Last Post: Mar 03, 2010, 9:51 AM

Tags for this Thread

Posting Permissions