- 浏览: 245545 次
- 性别:
- 来自: 北京
最新评论
-
Nabulio:
good
Spring配置SessionFactory -
唤流年:
[color=red][/color] ...
Spring配置SessionFactory -
wangcl011:
Oracle通过数据泵网络导入另一个数据库,不生成DMP文件, ...
oracle命令导入dmp文件 -
rochou:
第一个Hibernate实现CRUD -
ningwuyu:
Entity 类是那个jar里面的
PropertyUtils MethodUtils用法
文章列表
,buttons:[{
text : '登录'
,handler : login
}, {
text : '取消'
,handler : function() {
FormPanel.loginForm.getForm().reset();
}
}]
function login(){
if(!FormPanel.loginForm.getForm().isValid()) return;
FormPanel.loginForm.getForm().submit({
waitMsg: '正在提交数据. ...
<html>
<head>
<title>密码强度提示</title>
<style type="text/css">
#chkResult{margin-left:53px;height:15px;}
</style>
</head>
<body>
<form name="form1">
<label for="pwd">用户密码</ ...
/*!
* Ext JS Library 3.3.1
* Copyright(c) 2006-2010 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
// Add the additional 'advanced' VTypes
Ext.apply(Ext.form.VTypes, {
daterange : function(val, field) {
var date = field.parseDate(val);
if(!d ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>loadrecord.html</title>
<link rel="stylesheet" type="text/css" href="./ext-3.3.1/resources/css/ext-all.css" ...
1.验证输入框长度:一个汉字等于两个字符问题
validator:function(){
var str = Ext.util.Format.trim(news.getValue());
var size = 0;
for(var i=0;i<str.length;i++){
var code = str.charCodeAt(i);
if(code > 255){
size += 2;
}else{
...
package
rong.propertyUtils
;
import
java.util.Map;
import
org.apache.commons.beanutils.MethodUtils;
import
org.apache.commons.beanutils.PropertyUtils
;
public
...
<script type="text/javascript">
Ext.onReady(function(){
new Ext.Button({
renderTo:Ext.getBody(),
text:"handler",
handler:function(){
alert("******") ;
}
}) ;
}) ;
</script>
<script type="text/javascript&q ...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="t ...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="t ...
首先介绍一下renderer:
renderer:function(value, cellmeta, record, rowIndex, columnIndex, store){
} 1.value是当前单元格的值 2.cellmeta里保存的是cellId单元格id。 3.record是这行的所有数据,你想要什么,record.data["id"]这样就获得了。 4.rowIndex是行号,不是从头往下数的意思,而是计算了分页以后的结果。 5.columnIndex列号太简单了。 6.store,实际上这个是你构造表格时候传递的ds,也就是 ...
表格一般由:ColumnModel和Store两部分组成。
<!-- Grid由Store和ColumnModel组成 -->
<!--
store的组成:
1、Record
2、Proxy和Data
3、DataReader
-->
<HTML>
<HEAD>
<TITLE>ʹ��EXT���HelloWorld</TITLE>
<link rel="stylesheet" type="text/css" href="./ ...
Ext.onReady(function(){
var menu1=new Ext.menu.Menu({
items:[{ //菜单项的集合
text:"baidu", //菜单项的文本,
href:"http://www.baidu.com",//指定链接地址
hrefTarget:"_blank", //链接打开的发式,在新窗口打开
icon:"icon-info.gif" //菜单项前面的图标
} ...
<HTML>
<HEAD>
<TITLE>使用EXT输出HelloWorld</TITLE>
<!-- 导入extjs配置 … ... -->
<link rel="stylesheet" type="text/css" href="./../ext/resources/css/ext-all.css"/>
<script type="text/javascript" src="./../ext/adapter/ ...
<HTML>
<HEAD>
<TITLE>使用EXT输出HelloWorld</TITLE>
<!-- 导入extjs配置 … ... -->
<link rel="stylesheet" type="text/css" href="./../ext/resources/css/ext-all.css"/>
<script type="text/javascript" src="./../ext/adapter/ ...
<HTML>
<HEAD>
<TITLE>使用EXT输出HelloWorld</TITLE>
<!-- 导入extjs配置 … ... -->
<link rel="stylesheet" type="text/css" href="./../ext/resources/css/ext-all.css"/>
<script type="text/javascript" src="./../ext/adapter/ ...