`
文章列表
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Destroydrop » Javascripts » Tree</title> <link rel="StyleSheet" href="dtree.css" ty ...

excel连接字符串

Excel连接字符串的功能挺强大的。 很实用。 有2种方式。 1: 2:   1个是调用了concatnate函数,一个是使用了&(就是+号的功能了)。
declare v_new varchar2(20) := ''; cursor c_test is select distinct no from test where dno is not null; v_test c_test%rowtype; begin open c_test; loop fetch c_test into v_test; --根据dno查新的dno begin select new_dno into v_new from test2 where old_dno = v_test.dno; exception ...
发现网上日前选择器很多,时间选择的好像不多。自己就写了一个。   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title> TimePicker</title> <meta name="Generator" content="EditPlus"> <meta name="Author" content=" ...
Birt报表开发 1. 报表介绍 BIRT――商业智能和报表工具。 BIRT是一个Eclipse-based开放源代码的报表系统,它主要是用在基于Java和J2ee的web应用程序上。BIRT主要由两部分组成:一个是基于Eclipse的报表设计器和一个可以添加到应用服务器的运行组建。BIRT同时提供一个图形报表制作引擎。 1. BIRT可以像画table一样画报表,也可以生成图片、导出Excel、html、pdf、ppt等分页,样式比script设置简单 2. 开发环境 2. birt-report-designer-all-in-one-2_3_1,下载这个所以的都有了。 打 ...

Ext命名空间

    博客分类:
  • Ext
// 命名空间,类似Java中的包。 Ext.namespace("com.extjs.prototype"); // 定义一个该命名空间下的类 com.extjs.prototype.Person = function(){ // 没有任何属性和方法。 };  
//在类Person上增加一个属性id,值为1001,name,值为zhangsan 。 //增加一个方法sayHello() Ext.apply(com.extjs.prototype.Person.prototype,{ id:1001, name:"zhangsan", print:function(){ // 利用String的format方法,格式化输出,不用拼接字符串 alert(String.format("id={0},name={1}",__person.id,__perso ...

Ext类静态方法

    博客分类:
  • Ext
var Student = function(){} Ext.apply(Student.prototype,{ id:0, name:"", print:function(){ alert(String.format("id={0},name={1}",this.id,this.name)); } }); // 类静态方法 Student.alertMsg = function(_id,_name) { var _student = new Student(); _stu ...

Ext类的构造方法

    博客分类:
  • Ext
// 类的构造方法 // _cfg实际上就是对象初始化要传递的值。 // 这种写法可以减少代码量,但是肯能代码会看的不太明显,不太清楚类有哪些属性。 Test = function(_cfg){ Ext.apply(this,_cfg); } Test.print = function(_id,_name){ var _test = new Test({id:_id,name:_name}); _test.print(); } Ext.apply(Test.prototype,{ print:function(){ ...

Ext命名空间别名

    博客分类:
  • Ext
Ext.namespace("com.extjs.demo"); // 命名空间别名,首字母要大写 Ns = com.extjs.demo; Ns.Person = function(cfg) { Ext.apply(this,cfg); } var person = new Ns.Person({name:"angel",age:19}); alert(person.name);  

Ext类别名

    博客分类:
  • Ext
Ext.namespace("com.extjs.demo"); // 命名空间别名,首字母要大写 Ns = com.extjs.demo; Ns.Person = function(cfg) { Ext.apply(this,cfg); } // 类别名,全部大写 PN = Ns.Person; var person = new PN({name:"angel",age:19}); alert(person.name);  

Ext类继承

    博客分类:
  • Ext
var Person = Ext.emptyFn; Ext.apply(Person.prototype,{ id:0, name:"", print:function(){ alert(String.format("id={0},name={1}",this.id,this.name)); } }); /************************** 继承。******************/ var Student = function(cfg) { Ext.a ...

Ext方法重写

    博客分类:
  • Ext
var Person = function(cfg){ Ext.apply(this,cfg); } Ext.apply(Person.prototype,{ print:function(){ alert(String.format("id={0},name={1}",this.id,this.name)); } }); /*** 重写。****************************/ var Student = function(cfg) { Ext.apply(this,c ...

EXT事件队列

    博客分类:
  • Ext
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>事件队列</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" ...
<html> <head> <title>JS软键盘密码输入器</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <SCRIPT language=JavaScript> window.onload=function(){password1=null;initCalc();} var CapsLockValue=0; var check; self.onError ...
Global site tag (gtag.js) - Google Analytics