PDA

View Full Version : is there any default types other than iframe available for portalColumn



Marysmitha
20 Apr 2011, 3:04 AM
I use the below code to dispaly an external site(http://google.com) into my site. the defaultType i use is iframeportlet is there any other defaultType to display an external site in my site.

var portalreportform = new Ext.ux.PortalColumn({
columnWidth: 1,

width: (Ext.getBody().getWidth(true)*.66)-70,
height: 800,
id: 'portletReportID',
border:true,
defaultType:'iframeportlet',
defaults:{
loadMask:false,
collapsible:false

},
items:[{
width: '98%',
height: 750,
draggable: false,

autoScroll: false,
defaultSrc : "http://google.com"
}]
});

Screamy
20 Apr 2011, 10:37 AM
An iframe is required if you're wanting to display content originating from a domain other than that from which your app is served (forgetting about Ext.data.ScriptTagProxy for a moment).

Is there something you're trying to do that the iframeportlet won't do for you?