Http://www.cnblogs.com/qidian10/archive/2013/05/28/3104828.html
This articleArticleI have already discussed the advantages and disadvantages of autoload and IFRAME. How can I use IFRAME?
Nodeclick: Function (View, record ){ If (Record. Data. Leaf = True ){ VaR Main = ext. getcmp ("viewportcoretab" ); VaR Panel = ext. getcmp ("tab _" + Record. ID ); If (!Panel) {panel = Main. Add ( New Ext. UX. IFRAME ({xtype: 'Iframepanel' , ID: "Tab _" + Record. ID, Title: record. Data. Text, iconcls: record. Data. iconcls, closable: True , Layout: 'Fit' , Loadmask: 'Page loading ...' , Border: False }); Main. setactivetab (panel); panel. Load (record. Data. url );} Else {Main. setactivetab (panel );}}}
This method is better than autoload and HTML: '<IFRAME> </iframe>'. It can display loadmask, automatic unmask after page loading, autoload, and HTML, it cannot always achieve the mask effect.
: