I have Ext.panel.Panel and I would upload content from an external web page to my dashboard.
I tried using the bootloader as described here: bootloader issue
and you can find an example in this jsfiddle: http://jsfiddle.net/eternasparta/sH3fK/
Ext.require([ 'Ext.form.*', 'Ext.tip.*' ]); Ext.onReady(function() { Ext.QuickTips.init(); Ext.create('Ext.panel.Panel',{ renderTo: Ext.getBody(), height:400, width:400, id:'specific_panel_id' }); dynamicPanel = new Ext.Component({ loader: { url: 'http://it.wikipedia.org/wiki/Robot', renderer: 'html', autoLoad: true, scripts: true } }); Ext.getCmp('specific_panel_id').add(dynamicPanel); });
Perhaps I did not understand how to use the bootloader (if possible) using external web pages. So my first question is: is it possible to load the http://it.wikipedia.org/wiki/Robot page into my panel using the bootloader?
Second question: if the answer is no, how do you suggest downloading the contents of this page?
Thank you all
source share