87,910
社区成员
发帖
与我相关
我的任务
分享
// 设置Integer类型为空的默认值 json-lib默认是0
jsonConfig.registerDefaultValueProcessor(Integer.class,
new DefaultValueProcessor() {
public Object getDefaultValue(Class type) {
return null;
}
});
{
xtype : 'combo',
fieldLabel : '<span style="color: red; vertical-align: middle;">*</span> 业务类型',
hiddenName : 'busnTypeID',
triggerAction : 'all',
displayField : 'busnType',
valueField : 'busnTypeID',
editable : false,
store : new Ext.data.JsonStore({
autoLoad : true,
url : APPBASE
+ '/CaseLibraries.do?method=findCFGBusinessTypeversion',
fields : ['busnTypeID', 'busnType']
})
}