PDA

View Full Version : Load a full jsp page into Ext.Viewport item [Very important]



mannuk
30 Aug 2011, 11:09 AM
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.



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.

mannuk
1 Sep 2011, 2:03 AM
can anybody help me please?