erminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant ...
分类:
其他好文 时间:
2014-09-07 03:17:24
阅读次数:
147
1. 对combobox调用showTriggerButton和setValue方法之前,需要combobox所在窗口调用过show方法 2. store中的数据如果需要动态重新获取,可以通过给store.reload({url:url, params:{},callback: functio...
分类:
Web程序 时间:
2014-09-05 00:50:00
阅读次数:
257
Q:什么时候会用到DP?A:当你需要支持样式,数据绑定,动画, Blend设计器等Q:DP与CLR属性不同的关键点有?A:Static,GetValue/SetValue (DependencyObject), Dependency, 时间换空间Q:DP的值优先级是?A:属性系统强制转换>动画>本地值>触发器>Setter>继承>依赖属性元数据的默认值Q:DP的优势?A:继承,减少内存占用空间,变...
分类:
其他好文 时间:
2014-09-04 13:20:59
阅读次数:
192
Foundation Framework 定义了 NSObject(NSKeyValueCoding),- (void)setValue:(id)value forKey:(NSString *)key;该接口的说明1. 先在message receiver的class中搜索方法 -set:2. 如...
分类:
移动开发 时间:
2014-08-27 23:12:58
阅读次数:
258
1. mutating method sent to immutable object'从字面上理解:可变的消息发给了不可变的对象。比如NSDictionary类型的对象调用setValue方法.应该把NSDictionary 改成NSMutableDictionary类型。2.Local decl...
分类:
移动开发 时间:
2014-08-27 18:31:48
阅读次数:
189
//车辆颜色 BasePage.BindVehicleColorQueryControl=function(formId,ctrId){ $("#"+ctrId).combobox("setValue",''); $("#"+ctrId).combobox({valueField:'Ty...
分类:
Web程序 时间:
2014-08-27 12:43:47
阅读次数:
212
// _T("HYSWMMSHOWTAG") // _T("HYSWMMTAG")写:if( pEnt ){ CAppXdata xData2(_T("HYSWMMSHOWTAG"), pEnt->database()); xData2.SetValue(1070, 4,0); x...
分类:
其他好文 时间:
2014-08-22 09:20:15
阅读次数:
166
错误信息为:TypeError: record.get is not a function custCardCode.setValue(record.get('custCardCode')); items : [{ ...
分类:
其他好文 时间:
2014-08-21 14:44:04
阅读次数:
158
1.错的例子sexCombo.on("afterrender",function(){sexCombo.setValue(sexStore.getAt(0).data.code);});我不知道在某些情况下是否可以,但是我的combo的store是这样赋值的 /// /// 查看...
分类:
Web程序 时间:
2014-08-18 22:02:56
阅读次数:
207
RegistryKey key = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);//打开注册表子项 key.SetValue(程序的名称, 程序的路径);或W....
分类:
其他好文 时间:
2014-08-14 10:38:58
阅读次数:
315