<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_福娃</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/15571/rss</id><updated>2007-10-23T08:20:23Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/15571/rss"/><entry><id>http://www.cnblogs.com/maplye/archive/2007/10/23/934552.html</id><title type="text">IBatis.Net如何支持多个数据库</title><summary type="text">原文：http://www.maplye.com:8081/post/114/在Ibatis.net的帮助文档中有介绍多数据库支持，但是没有写全代码，后来查看其源码，并结合帮助文档，找到了解决方法，其实道理就是另行实现一个Mapper.如AnthorMapper：ApacheNotice#regionApacheNotice/**//********************************...</summary><published>2007-10-23T06:35:00Z</published><updated>2007-10-23T06:35:00Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><link rel="alternate" href="http://www.cnblogs.com/maplye/archive/2007/10/23/934552.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/archive/2007/10/23/934552.html"/><content type="text">原文：http://www.maplye.com:8081/post/114/在Ibatis.net的帮助文档中有介绍多数据库支持，但是没有写全代码，后来查看其源码，并结合帮助文档，找到了解决方法，其实道理就是另行实现一个Mapper.如AnthorMapper：ApacheNotice#regionApacheNotice/**//********************************...</content></entry><entry><id>http://www.cnblogs.com/maplye/archive/2007/02/12/648130.html</id><title type="text">[django]the story about Django and TurboGears</title><summary type="text">I was walking across a bridge one day, and I saw a man standingon the edge, about to jump off. So I ran over and said, “Stop! Don’t doit!”“I can’t help it,” he crie...</summary><published>2007-02-12T05:04:00Z</published><updated>2007-02-12T05:04:00Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><link rel="alternate" href="http://www.cnblogs.com/maplye/archive/2007/02/12/648130.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/archive/2007/02/12/648130.html"/><content type="text">I was walking across a bridge one day, and I saw a man standingon the edge, about to jump off. So I ran over and said, “Stop! Don’t doit!”“I can’t help it,” he crie...</content></entry><entry><id>http://www.cnblogs.com/maplye/archive/2007/02/11/647344.html</id><title type="text">[django]newforms两种方式示例</title><summary type="text">newforms是django新的对表单处理功能,查看官方文档:http://www.djangoproject.com/documentation/newforms/最近也在看newsform的文章，总结了两种使用的方法，如下所示：一、根据model自动生成newsformmodel:Code highlighting produced by Actipro CodeHighlighter (f...</summary><published>2007-02-11T03:32:00Z</published><updated>2007-02-11T03:32:00Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><link rel="alternate" href="http://www.cnblogs.com/maplye/archive/2007/02/11/647344.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/archive/2007/02/11/647344.html"/><content type="text">newforms是django新的对表单处理功能,查看官方文档:http://www.djangoproject.com/documentation/newforms/最近也在看newsform的文章，总结了两种使用的方法，如下所示：一、根据model自动生成newsformmodel:Code highlighting produced by Actipro CodeHighlighter (f...</content></entry><entry><id>http://www.cnblogs.com/maplye/archive/2007/01/15/620836.html</id><title type="text">Since NHibernate 1.2.0, objects are lazy by default</title><summary type="text">如果你还是使用以前的mapping的时候就会有可能会出现Type '*******' cannot be specified as proxy: method get_Id should be virtual这个时候你需要修改***.hbm.xml中的hibernate-mapping节点上的default-lazy="false"</summary><published>2007-01-15T06:56:00Z</published><updated>2007-01-15T06:56:00Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><link rel="alternate" href="http://www.cnblogs.com/maplye/archive/2007/01/15/620836.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/archive/2007/01/15/620836.html"/><content type="text">如果你还是使用以前的mapping的时候就会有可能会出现Type '*******' cannot be specified as proxy: method get_Id should be virtual这个时候你需要修改***.hbm.xml中的hibernate-mapping节点上的default-lazy="false"</content></entry><entry><id>http://www.cnblogs.com/maplye/archive/2006/12/15/593608.html</id><title type="text">[Castle]Castle.Model被Castle.Core代替了</title><summary type="text">我今天下载了11.1日发布的rc2的版本，发现找不到Castle.Model，后来发现多了个Castle.Core，发现可以用他来代替Castle.Model.搜索了一下，果然看到官方文档中有：- The assembly Castle.Model was replaced by Castle.Core - Internal interfaces have changed to allocate ...</summary><published>2006-12-15T10:54:00Z</published><updated>2006-12-15T10:54:00Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><link rel="alternate" href="http://www.cnblogs.com/maplye/archive/2006/12/15/593608.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/archive/2006/12/15/593608.html"/><content type="text">我今天下载了11.1日发布的rc2的版本，发现找不到Castle.Model，后来发现多了个Castle.Core，发现可以用他来代替Castle.Model.搜索了一下，果然看到官方文档中有：- The assembly Castle.Model was replaced by Castle.Core - Internal interfaces have changed to allocate ...</content></entry><entry><id>http://www.cnblogs.com/maplye/archive/2006/12/11/588950.html</id><title type="text">[Castle]Castle也范型</title><summary type="text">配置文件如下：&lt;!--Coredataaccessservices--&gt;&lt;componentid="commondao"service="RXOA.DataAccess.ICommonDao`1,RXOA.DataAccess"type="RXOA.DataAccess.CommonDao`1,RXOA.DataAccess"&gt;&lt;/component&gt;上面这种是...</summary><published>2006-12-11T08:09:00Z</published><updated>2006-12-11T08:09:00Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><link rel="alternate" href="http://www.cnblogs.com/maplye/archive/2006/12/11/588950.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/archive/2006/12/11/588950.html"/><content type="text">配置文件如下：&lt;!--Coredataaccessservices--&gt;&lt;componentid="commondao"service="RXOA.DataAccess.ICommonDao`1,RXOA.DataAccess"type="RXOA.DataAccess.CommonDao`1,RXOA.DataAccess"&gt;&lt;/component&gt;上面这种是...</content></entry><entry><id>http://www.cnblogs.com/maplye/archive/2006/12/11/588938.html</id><title type="text">[Castle]Asp.Net中获取Castle容器中的服务的另一方法</title><summary type="text">我们知道在我们使用Castle IOC的时候，若你的类库在容器中的时候，你只需要通过公开属性或构造时设置参数后，Castle容器就会自动的根据配置文件中的服务为您实例化相应的类。但他并不支持Asp.Net的后置代码类。那么在Asp.Net中应如何获取容器中的服务呢？我们可以通过如下方式：IWindsorContainercontainer=ContainerAccessorUtil.GetCont...</summary><published>2006-12-11T08:00:00Z</published><updated>2006-12-11T08:00:00Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><link rel="alternate" href="http://www.cnblogs.com/maplye/archive/2006/12/11/588938.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/archive/2006/12/11/588938.html"/><content type="text">我们知道在我们使用Castle IOC的时候，若你的类库在容器中的时候，你只需要通过公开属性或构造时设置参数后，Castle容器就会自动的根据配置文件中的服务为您实例化相应的类。但他并不支持Asp.Net的后置代码类。那么在Asp.Net中应如何获取容器中的服务呢？我们可以通过如下方式：IWindsorContainercontainer=ContainerAccessorUtil.GetCont...</content></entry><entry><id>http://www.cnblogs.com/maplye/archive/2006/12/11/588903.html</id><title type="text">[Javascript]给Javascript中的Array添加Remove方法</title><summary type="text">Javascript中的Array对象没有Remove方法，在网上找到了一函数functionRemoveArray(array,attachId){for(vari=0,n=0;i&lt;array.length;i++){if(array[i]!=attachId){array[n++]=array[i]}}array.length-=1;}接着可以将RemoveArray函数加入到Array...</summary><published>2006-12-11T07:36:00Z</published><updated>2006-12-11T07:36:00Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><link rel="alternate" href="http://www.cnblogs.com/maplye/archive/2006/12/11/588903.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/archive/2006/12/11/588903.html"/><content type="text">Javascript中的Array对象没有Remove方法，在网上找到了一函数functionRemoveArray(array,attachId){for(vari=0,n=0;i&lt;array.length;i++){if(array[i]!=attachId){array[n++]=array[i]}}array.length-=1;}接着可以将RemoveArray函数加入到Array...</content></entry><entry><id>http://www.cnblogs.com/maplye/archive/2006/11/17/563724.html</id><title type="text">[AJAX]Ajax.Net取Application的值问题</title><summary type="text">如下：[AjaxPro.AjaxMethod]publicintGetOnlineUserCount(){return((Hashtable)Application["UserOnLine"]).Keys.Count;}就取不到，只能写成下面这种方式：[AjaxPro.AjaxMethod]publicintGetOnlineUserCount(){return((Hashtable)HttpCo...</summary><published>2006-11-17T06:50:00Z</published><updated>2006-11-17T06:50:00Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><link rel="alternate" href="http://www.cnblogs.com/maplye/archive/2006/11/17/563724.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/archive/2006/11/17/563724.html"/><content type="text">如下：[AjaxPro.AjaxMethod]publicintGetOnlineUserCount(){return((Hashtable)Application["UserOnLine"]).Keys.Count;}就取不到，只能写成下面这种方式：[AjaxPro.AjaxMethod]publicintGetOnlineUserCount(){return((Hashtable)HttpCo...</content></entry><entry><id>http://www.cnblogs.com/maplye/archive/2006/11/07/552469.html</id><title type="text">立冬了，换个Skin</title><summary type="text">换一个冬天的皮肤！</summary><published>2006-11-07T00:15:00Z</published><updated>2006-11-07T00:15:00Z</updated><author><name>福娃</name><uri>http://www.cnblogs.com/maplye/</uri></author><link rel="alternate" href="http://www.cnblogs.com/maplye/archive/2006/11/07/552469.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/maplye/archive/2006/11/07/552469.html"/><content type="text">换一个冬天的皮肤！</content></entry></feed>
