.net

.net

博客园 首页 新随笔 联系 订阅 管理

2012年5月22日 #

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2012-05-22 14:49 航宇 阅读(22) 评论(0) 推荐(0) 编辑

摘要: /*** model工厂类*/Ext.define("factory.ModelFactory",{ statics:{ //数据类模型的集合 models:new Ext.util.MixedCollection(), //字段集合 fields:new Ext.util.MixedCollection(), getModelByName:function(modelName,excludes){ //不需要的字段 var nofields = {}; if(excludes){ nofields = {"excludes":excludes}; } 阅读全文
posted @ 2012-05-22 09:43 航宇 阅读(207) 评论(0) 推荐(0) 编辑