CKFinder 弹出窗口操作并设置回调函数
官方例子参考CKFinderJava-2.4.1/ckfinder/_samples/popup.html
写一个与EXT集成的小例子
Ext.define("MyButton", { extend : "Ext.Button", text : "ckfinder", initComponent : function() { var me = this; Ext.apply(me, { handler : me.handlerClick }); me.callParent(); }, handlerClick : function(btn) { var finder = new CKFinder(); finder.selectActionFunction = Ext.bind(btn.SetFileField, btn); finder.popup(); }, SetFileField : function(fileUrl) { console.log(fileUrl); } });