var p_years = new Ext
fieldLabel :
anchor : anchor_w
mode :
maxHeight:
triggerAction :
selectOnFocus : true
forceSelection : true
editable : false
//store :[[
store:[
});
在該組件中
下面是比較正規用法
復制代碼 代碼如下:
var proj_main_store = new Ext
url : "************"
fields : [
root : "objs"
baseParams : {
"obj/dicttypeid" : "BM_IMPORTANT_PROJ"
}
});
proj_main_store
proj_main_store
}));
});
var proj_main_type = new Ext
fieldLabel :
anchor : anchor_w
mode :
triggerAction :
selectOnFocus : true
forceSelection : true
editable : false
valueField :
displayField :
store : proj_main_store
});
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20086.html