- 浏览: 527727 次
- 性别:
- 来自: 广州
文章分类
- 全部博客 (339)
- JavaBase (27)
- J2EE (70)
- Database (22)
- Spring (3)
- struts1.x (6)
- struts2.x (16)
- Hibernate (10)
- IBatis (4)
- DWR (1)
- SSH (5)
- Oracle (31)
- HTML (12)
- javascript (11)
- Thinking (3)
- Workflow (5)
- Live (13)
- Linux (23)
- ExtJS (35)
- flex (10)
- php (3)
- Ant (10)
- ps (1)
- work (2)
- Test (1)
- Regular Expressions (2)
- HTTPServer (2)
- 方言 (1)
- 生活 (2)
- Sybase PowerDesigner (0)
最新评论
-
mikey_5:
非常感谢楼主的分享,<parameter propert ...
Check the output parameters (register output parameters failed) IN Ibatis -
影子_890314:
我现在也有这个错误,求解!
Check the output parameters (register output parameters failed) IN Ibatis -
358135071:
学习了,感谢分享!
使用hibernate 代替 mysql 中 limit 進行分頁 -
wjpiao:
你下面的“正确的映射”里面不是还是有number类型吗?
Check the output parameters (register output parameters failed) IN Ibatis -
zh_s_z:
很有用!弄一份吧!
Oracle数据库分区表操作方法
实现1:
*************************************************
Ext.apply(Ext.form.VTypes, {
confirmPwd : function(val, field) {
if (field.confirmPwd) {
var firstPwdId = field.confirmPwd.first;
var secondPwdId = field.confirmPwd.second;
this.firstField = Ext.getCmp(firstPwdId);
this.secondField = Ext.getCmp(secondPwdId);
var firstPwd = this.firstField.getValue();
var secondPwd = this.secondField.getValue();
if (firstPwd == secondPwd) {
return true;
} else {
return false;
}
}
},
confirmPwdText : '两次输入的密码不一致!'
});
================================================
{
id : 'password',
name : 'password',
width : 140,
fieldLabel : '<font color="red">密 码</font>',
// confirmPwd : {
// first : 'password',
// second : 'confirmPassword'
// },
// inputType : 'password',
// vtype : 'confirmPwd',
allowBlank : false,
blankText : '密码不能为空',
regex : /^[\s\S]{0,20}$/,
regexText : '密码长度不能超过20个字符'
}, {
id : 'confirmPassword',
name : 'confirmPassword',
width : 140,
fieldLabel : '<font color="red">确认密码</font>',
confirmPwd : {
first : 'password',
second : 'confirmPassword'
},
// inputType : 'password',
vtype : 'confirmPwd',
allowBlank : false,
blankText : '确认密码不能为空',
regex : /^[\s\S]{0,20}$/,
regexText : '确认密码长度不能超过20个字符'
}
-----------------------------------------------------------------------------------------------------
实现2:
*************************************************
Ext.apply(Ext.form.VTypes, {
password : function(val, field) {
if (field.initialPassField) {
var pwd = Ext.getCmp(field.initialPassField);
return (val == pwd.getValue());
}
return true;
},
passwordText : '两次输入的密码不一致!'
});
=================================================
{
id : 'newPwd',
name : 'newPwd',
width : 140,
inputType : 'password',
fieldLabel : '<font color="red">新 密 码</font>',
allowBlank : false,
blankText : '新密码不能为空',
regex : /^[\s\S]{0,12}$/,
regexText : '新密码长度不能超过12个字符'
}, {
name : 'confirmPwd',
width : 140,
inputType : 'password',
fieldLabel : '<font color="red">确认密码</font>',
vtype : 'password',
initialPassField : 'newPwd',
allowBlank : false,
blankText : '确认密码不能为空',
regex : /^[\s\S]{0,12}$/,
regexText : '旧密码长度不能超过12个字符'
}
发表评论
-
纵向Tab ---ext
2010-09-28 16:02 1200net address: http://carina. ... -
js code compress
2010-06-11 01:22 952文章转自: http://www.rainway.org/20 ... -
Ext.data.Store
2010-04-16 21:26 1402原文: http://www.9iext.cn/thr ... -
extjs换肤
2010-02-26 14:15 1197extjs换肤 http://www.javachen ... -
ext 教程
2010-01-29 17:05 952关于Ext 扩展比较好的文章: http:// ... -
demo
2010-01-26 20:11 1176一、下载extjs 1、从http://www.extj ... -
你的水平 字段没超出所以没 滚动条!
2009-12-16 21:36 1043你的水平 字段没超出所以没 滚动条! 你试下吧 colu ... -
在EXT中使用FCKEditor编辑器例子
2009-12-15 16:47 1190... -
js oo
2009-12-15 10:22 814var RectAngle = function(width, ... -
costom extend
2009-12-15 09:06 872//自定義繼承 ---------------------- ... -
Ext extend
2009-12-14 23:56 1284第一章 必须理解Ext.extend ... -
JS中的 prototype的含义
2009-12-14 22:02 1736搜了两 个认为好的讲解 Prototype 属性的 ... -
想起温习一下JS中的this apply call arguments
2009-12-14 21:03 1132很多时候讲到语言入门,大家会认为就是要了 ... -
阅读 Ext 学习Javascript(一)Core/Ext.js
2009-12-14 20:46 920从Library的角度 ... -
阅读Ext学习Js(二)---extend从继承说起
2009-12-14 20:45 1050一般的,如果我们定义一个类,会定义一个function对象,然 ... -
Extjs 研究: js基础
2009-12-14 20:33 10471.我们写的变量 ,函 ... -
ExtJS 入门之一 类与继承
2009-12-14 20:08 768在项目中使用ExtJS已经 ... -
Ext表單中一行多列的布局
2009-12-07 08:01 3780var simpleForm = new Ext.Form ... -
extend Ext component demo
2009-12-06 14:01 849extjs的Ext.extend的使用样例(Ext继承) ... -
使用Ext.extend的几点小结
2009-12-06 13:51 13721. TestExtend3 = Ext.extend(Ex ...
相关推荐
extjs验证 extjs验证 extjs验证 extjs验证extjs验证 extjs验证 extjs验证 extjs验证
Extjs验证 Extjs验证Extjs验证 Extjs验证Extjs验证 Extjs验证Extjs验证 Extjs验证
用extjs实现登陆页面的前台验证。
Extjs表单验证包括空验证、用vtype格式进行简单的验证、高级自定义密码验证、使用正则表达式验证等等
最近小弟做了Extjs实现实现下拉框联动的效果,参考了好久才学会,闲下来发一个简单的例子。。呵呵
extjs实现动态树
ExtJS验证文件上传类型,详细讲述ExtJS如何验证文件上传文件的类型!
ExtJS 实现动态处理加载 grid 实现了CRUD还有分页功能
dojochina-extjs视频密码,下载下来的视频解压是要密码的
适用于ExtJS4、ExtJS5 MD5加密算法!
ExtJS 17种 皮肤 ExtJS 17种 皮肤
该js包粘贴到工程Extjs包下,在jsp中引用该文件路径即可。
修改过的Ext.MessageBox.prompt方法,可直接调用,对输入的文字加密,适合做密码验证框
EXTJS应用EXTJS应用EXTJS应用EXTJS应用EXTJS应用EXTJS应用
ExtJS实现Excel导出,最常用的可以解决大部分问题
extjs实现报表
ExtJs+Dwr(Grid)实现分页功能,很实用
extjs资料extjs资料extjs资料extjs资料extjs资料
ExtJS4+JSON+Servlet(Struts2)实现登录验证
Extjs实现用户登录。。。。。。。。。。。。。。。。。