maneljn
27 Jun 2012, 6:45 AM
Extjs 4.1.1 RC2
I try to open an external url web page inside a panel like this:
Ext.define('esinube.view.esitest.websexternas.google', {
extend: 'Ext.panel.Panel',
alias : 'widget.esinube_view_esitest_websexternas_google',
title: gt.dgettext('esitest','Webs externas - Google'),
html: '<iframe src="http://www.google.com" width="100%" height="100%" ></iframe>',
initComponent: function() {
var me = this;
// Ejecutar metodo de su parent
me.callParent(arguments);
}
});
It does nothing because google.com has javascript inside.
If i change this line with a domain without any javascript inside it works fine.
html: '<iframe src="http://www.cesigrup.com" width="100%" height="100%" ></iframe>',
How could i resolve the problem with javascript pages ?
I try to open an external url web page inside a panel like this:
Ext.define('esinube.view.esitest.websexternas.google', {
extend: 'Ext.panel.Panel',
alias : 'widget.esinube_view_esitest_websexternas_google',
title: gt.dgettext('esitest','Webs externas - Google'),
html: '<iframe src="http://www.google.com" width="100%" height="100%" ></iframe>',
initComponent: function() {
var me = this;
// Ejecutar metodo de su parent
me.callParent(arguments);
}
});
It does nothing because google.com has javascript inside.
If i change this line with a domain without any javascript inside it works fine.
html: '<iframe src="http://www.cesigrup.com" width="100%" height="100%" ></iframe>',
How could i resolve the problem with javascript pages ?