Results 1 to 2 of 2

Thread: Load a full jsp page into Ext.Viewport item [Very important]

  1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    7
    Vote Rating
    0
      0  

    Default Load a full jsp page into Ext.Viewport item [Very important]

    Hi All!

    I'm develeloping a project that requires a panel viewer. I have used Ext.viewport to implement it because it's posible move panels, close or show some info. The problem is that i'm trying to load a full jsp file with autoload but ext js components of jsp file don't show.

    Code:
     var viewport = new Ext.Viewport({
            layout:'border',
            //renderTo:'panel',
            id:'viewport',
            items:[{
                xtype:'portal',
                id:'portal1',
                //renderTo:'panel',
                region:'center',
                items:[{
                    columnWidth:.5,
                    style:'padding:10px 0 10px 10px',
                    items:[{
                        title: 'Forecast prediction for Today',
                        layout:'fit',
                        tools: tools,
                        autoLoad: {
                            url:ctx+'/imeteo.jsp',
                            scripts: false
                          }
    
    
                    },{
                            title: 'Another Panel 2',
                            tools: tools,
                            autoLoad:ctx+'/imeteo.jsp'
                    }]
                }
              ........MORE ELEMENTS
    });
    i read some info about iframes but i don't understand it well. Can anybody help me please?

    thanks all,
    bye.

  2. #2
    Sencha User
    Join Date
    Apr 2011
    Posts
    7
    Vote Rating
    0
      0  

    Default

    can anybody help me please?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •