JavaScript实现弹窗报错
1、具体错误如下
SCRIPT 5022:cannot call methods on dialog prior to initialization;
attempted to call method 'open'.
2、错误原因
3、解决办法...
分类:
编程语言 时间:
2014-05-13 07:01:27
阅读次数:
463
ext版本:4.2需求:在数据record绑定到form的时候,Ext会触发field的change事件和validate事件。以至于,新建的空表单界面,会出现验证不通过的样式,如下图:解决思路:在formloadRecord之前,禁止field的change()事件,loadRecord之后,开启field的change()事件。loadRecord..
分类:
其他好文 时间:
2014-05-13 03:33:03
阅读次数:
340
7.1 操作系统接口
Os模块提供主要许多与操作系统交互的函数。
>>> import os
>>> os.getcwd() # Return the current working directory
’C:\\Python31’
>>> os.chdir(’/server/accesslogs’) # Change current working directory
>>> ...
分类:
编程语言 时间:
2014-05-12 23:08:03
阅读次数:
356
先执行:rubyscript/generatemigrationadd_change_flag_to_userschange_flag:Boolean生成时间序列文件:db/migrate/20131016034104_add_changeflag_to_users.rb内容:classAddchangeflagToUsers<ActiveRecord::Migrationdefself.upadd_column:users,:change_flag,:booleanen..
分类:
其他好文 时间:
2014-05-12 03:10:04
阅读次数:
368
异常:The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
这是因为页面中用了struts标签的原因。
解决方法:
1。下载jstl1.1 解压后把lib文件夹下的jstl....
分类:
编程语言 时间:
2014-05-11 21:44:48
阅读次数:
364
绿色版本,解压缩D:\Software\mysql-advanced-5.6.18-winx64my-default.ini
改名my.inimy.ini内容如下# For advice on how to change settings please see#
http://dev.mysql.c...
分类:
数据库 时间:
2014-05-10 02:30:15
阅读次数:
495
1、改diagram中连线的颜色:redraw一下就OK// Change the Line
Greendiagram.connections[indexS].redraw({stroke:{color:"green"}});diagram.connections[indexD].redraw({s...
分类:
其他好文 时间:
2014-05-10 02:29:49
阅读次数:
414
Long 无法转化成Integer类型.
这个异常 经常出现在hinbernate分页查询的时候.
原因:
这里在Hibernate2.0之前版本list.get(0)返回的是Integer类型.
但是在Hibernate3.0以后版本list.get(0)返回的是Long类型.
解决方法
public Intege...
分类:
编程语言 时间:
2014-05-09 22:00:46
阅读次数:
327
phpize可以往php种追加新的模块
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script....
分类:
Web程序 时间:
2014-05-09 21:06:27
阅读次数:
375
find / –name sqlplus iostat –d 2 iostat和iowait详细解说
如果你想对硬盘做一个IO负荷的压力测试可以用如下命令 time dd if=/dev/zero bs=1M count=2048 of=direct_2G
此命令为在当前目录下新建一个2G的文件 我...
分类:
系统相关 时间:
2014-05-09 20:31:22
阅读次数:
547