Bootstrap

ExtJs4 load加载html页面

function getReceiveBoxPanel(){
	var receiveBoxPanel = Ext.getCmp('receiveBoxPanel');
	if(!receiveBoxPanel){
		receiveBoxPanel = Ext.create('Ext.panel.Panel', {
			id:'receiveBoxPanel',
			title:'收件箱',
			closable:true,
			layout:'fit',
			autoLoad:{
				url: basePath+'/postbox/findReceiveBox.action',//请求返回 html页面
				method:'POST'
			}
		});
	}
	return receiveBoxPanel;
}
<action name="findReceiveBox" class="kx.web.action.PostboxAction" method="findReceiveBox">
	<result name="success" type="freemarker">
		<param name="location">/WEB-INF/templates/postbox/receiveBox.html</param>
		<param name="parse">true</param>
		<param name="contentType">text/html</param>
	</result>
</action>

;