`
dingchao.lonton
  • 浏览: 48566 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论
文章列表
XMLHttpRequestUpload : EventTarget   XMLHttpRequestUpload is returned by the XMLHttpRequest.upload property and is used to track the upload status of the send() call. Instance Events onloadstart / 'loadstart'  event listener(event : 
老外技术牛就在于他们的高标准,都是一些很基础的问题,但是不一定答得上来。尝试一下,try and try 文章转载自:http://www.hacksparrow.com/hack-sparrows-javascript-test-round-one.html   Applying for a job somewhere as a JavaScript developer? Or just wanna see how much of JavaScript you know? Here is something useful and fun for you. Let's assume ...
/** Unsafe.java - Unsafe operations needed for concurrency
package annotation; import java.io.Serializable; import annotation.ValueBind.fieldType; @SuppressWarnings("serial") public class Student implements Serializable { private String name = ""; public String getName() { return name; } @ValueBind(type = fiel ...
最近在学习nodejs,在网上下载一个todo的demo,整了半天才运行起来,以前的demo是通过mangodb来作为数据库的,我将其修改了一个,改成了mysql
package spring.test; import org.springframework.aop.framework.ProxyFactory; import org.springframework.aop.support.DefaultPointcutAdvisor; import org.springframework.aop.support.NameMatchMethodPointcut; import org.springframework.context.ApplicationContext; import org.springframework.context ...
目前 osworkflow的版本是2.8,很久没有更新了,而且这个版本的动态会签无法实现,虽然她提供了 split和join这样的标签,但是split中result的个数是固定的,这往往在我们现实的系统中用的很少,比如 我要给你一个组提供会签功能,而这个组的人数事先是不知道的,所以必须提供动态会签,也就是动态的split。 附件里面是我通过改写osworkflow使其能够动态会签的例子   <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE workflow PUBLIC " ...
最近研究osworkflow, 觉得这个工作流框架很轻便灵活,但是只有osworkflow+spring+hibernate的实现,我在想,如果一个大型的工作流系统,数据非常多,岂不是不能用hibernate了?,于是我就照着Hibernate的实现做了一个 Jdbc的的spring实现,反正jdbc可以解决任何数据优化问题, package com.opensymphony.workflow.spi.jdbc; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; ...
最近研读了spring的Transaction的源代码,顺便做个笔记,以防时间长了忘记。   我们知道如果用编码的方式来写spring的事物管理,代码其实是这样子的     PlatformTransactionManager transactionManager = new xxxTransactionManager(); TransactionDefinition transactionDefinition = new DefultTransactionDefinition (); TransactionStatus status = transactionManage ...
最近在看spring的源码,正好把其记录下来 一 。 启动过程 在Web服务器tomcat(应用的容器)启动的时候的时候,首先web.xml会自动的加载到容器tomcat里面,所以我们会在web.xml里面加载spring的配置文件,是通过org.springframework.web.context.ContextLoaderListener或者org.springframework.web.context.ContextLoaderServlet加载我们的spring配置文件,我们就拿ContextLoaderListener为例子吧   在ContextLoaderLi ...
   Getting Started To write a jQuery plugin, start by adding a new function property to the jQuery.fn object where the name of the property is the name of your plugin:     jQuery.fn.myPlugin = function() { // Do your awesome plugin stuff here };       But wait! Where's my awesom ...
本文原文地址:http://wiki.jqueryui.com/w/page/12138135/Widget-factory All of jQuery UI's widgets and interactions are built from a simple, reusable base - the jQuery UI Widget Factory. It provides a flexible base for building complex, stateful plugins with a consistent API.  It is designed n ...
前面我写了一篇文章来扩展OpreaMasksUI的grid的排序功能和显示详情的功能,不清楚的可以看下我博客的另外一篇文章:http://dingchao-lonton.iteye.com/admin/blogs/1345088,但是我修改的时候污染了原来的代码,我觉得这种方式很不好,所以我就用jquery ui的widget factory提供的继承方式来扩展,这样原来的代码可以保持干净;   javasscript代码如下:     /* * $Id: om-grid.js,v 1.97 2012/01/04 03:28:04 zhoufazhi Exp $ * opera ...
javascript 部分   1. document.form.item 问题 问题: 代码中存在 document.formName.item(“itemName”) 这样的语句,不能在FF下运行 解决方法: 改用 document.formName.elements["elementName"] 2. 集合类对象问题 问题: 代码中许多集合 ...
本贴转自:http://www.cnblogs.com/timy/archive/2011/04/01/2001871.html,因为写的很好,所以转载了   使用 jQuery UI Widget Factory 编写有状态的插件(Stateful Plugins) Note 这一章节的内容是基于 Scott Gonzalez 一篇博客 Building Stateful jQuery Plugins ...
Global site tag (gtag.js) - Google Analytics