<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 写在Buffalo1.2发布之后</title>
	<atom:link href="http://michael.nona.name/archives/125/feed" rel="self" type="application/rss+xml" />
	<link>http://michael.nona.name/archives/125</link>
	<description>World in my view is a word of my view.</description>
	<lastBuildDate>Fri, 12 Mar 2010 02:22:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael Chen</title>
		<link>http://michael.nona.name/archives/125/comment-page-1#comment-586</link>
		<dc:creator>Michael Chen</dc:creator>
		<pubDate>Wed, 11 Jan 2006 01:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://michael.nona.name/archives/125#comment-586</guid>
		<description>jsvalidation正在考虑。一直都想那么做的，只是忙于buffalo, 没有时间来整理。以后校验的规则数据支持xml和内嵌属性两种。内嵌属性

input rules=&quot;required;minLength:10;maxLength:100&quot; 

类似于css的语法。</description>
		<content:encoded><![CDATA[<p>jsvalidation正在考虑。一直都想那么做的，只是忙于buffalo, 没有时间来整理。以后校验的规则数据支持xml和内嵌属性两种。内嵌属性</p>
<p>input rules=&#8221;required;minLength:10;maxLength:100&#8243; </p>
<p>类似于css的语法。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JasonZhang</title>
		<link>http://michael.nona.name/archives/125/comment-page-1#comment-585</link>
		<dc:creator>JasonZhang</dc:creator>
		<pubDate>Tue, 10 Jan 2006 15:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://michael.nona.name/archives/125#comment-585</guid>
		<description>唉，特殊标签被过滤了。
&gt; input type=&quot;text&quot; required=”true” maxLength=”4″&lt;</description>
		<content:encoded><![CDATA[<p>唉，特殊标签被过滤了。<br />
&gt; input type=&#8221;text&#8221; required=”true” maxLength=”4″&lt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JasonZhang</title>
		<link>http://michael.nona.name/archives/125/comment-page-1#comment-584</link>
		<dc:creator>JasonZhang</dc:creator>
		<pubDate>Tue, 10 Jan 2006 15:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://michael.nona.name/archives/125#comment-584</guid>
		<description>不知道楼上说的是不是这种方式

这种方式我以前也用过，但同事都不喜欢，如果有两个相同的表单都需要表单，比如增加和编辑的表单，那不是每个表单都需要写required=&quot;true&quot; maxLength=&quot;4&quot;。现在我们项目用的客户端表验证就是在Michale的JsValidation上改的，但是有些客户端的浏览器在load　xml配置文件时总是会出错，头痛啊。</description>
		<content:encoded><![CDATA[<p>不知道楼上说的是不是这种方式</p>
<p>这种方式我以前也用过，但同事都不喜欢，如果有两个相同的表单都需要表单，比如增加和编辑的表单，那不是每个表单都需要写required=&#8221;true&#8221; maxLength=&#8221;4&#8243;。现在我们项目用的客户端表验证就是在Michale的JsValidation上改的，但是有些客户端的浏览器在load　xml配置文件时总是会出错，头痛啊。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 白衣</title>
		<link>http://michael.nona.name/archives/125/comment-page-1#comment-583</link>
		<dc:creator>白衣</dc:creator>
		<pubDate>Mon, 09 Jan 2006 08:03:17 +0000</pubDate>
		<guid isPermaLink="false">http://michael.nona.name/archives/125#comment-583</guid>
		<description>我们也简单写了个jsvalidation,不过不是定义在config.xml文件里的,而是直接在里面加了个contrains属性,不知到Michale觉得这个思路怎样. 

我觉得直接在input里就能看到限制比跳到config.xml好些,也少些配置文件.</description>
		<content:encoded><![CDATA[<p>我们也简单写了个jsvalidation,不过不是定义在config.xml文件里的,而是直接在里面加了个contrains属性,不知到Michale觉得这个思路怎样. </p>
<p>我觉得直接在input里就能看到限制比跳到config.xml好些,也少些配置文件.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JasonZhang</title>
		<link>http://michael.nona.name/archives/125/comment-page-1#comment-580</link>
		<dc:creator>JasonZhang</dc:creator>
		<pubDate>Sat, 31 Dec 2005 15:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://michael.nona.name/archives/125#comment-580</guid>
		<description>ApplicationServlet的实现方式比我原来想像的方式的更漂亮，只要实现接口ServiceRepository就可以用自己的方式来获取service了，只是我实现了这个接口后，要怎么使用我自己的类？你似乎还没有完成。
	private void initServiceRepository() {
		
		if (getServletContext().getAttribute(ServiceRepository.WEB_CONTEXT_KEY) == null) {
			LOG.info(&quot;initialize the service repository&quot;);
			ServiceRepository repository = new DefaultServiceRepository(getServletContext());
			getServletContext().setAttribute(ServiceRepository.WEB_CONTEXT_KEY, repository);
		} else {
                        ????
                }
	}</description>
		<content:encoded><![CDATA[<p>ApplicationServlet的实现方式比我原来想像的方式的更漂亮，只要实现接口ServiceRepository就可以用自己的方式来获取service了，只是我实现了这个接口后，要怎么使用我自己的类？你似乎还没有完成。<br />
	private void initServiceRepository() {</p>
<p>		if (getServletContext().getAttribute(ServiceRepository.WEB_CONTEXT_KEY) == null) {<br />
			LOG.info(&#8220;initialize the service repository&#8221;);<br />
			ServiceRepository repository = new DefaultServiceRepository(getServletContext());<br />
			getServletContext().setAttribute(ServiceRepository.WEB_CONTEXT_KEY, repository);<br />
		} else {<br />
                        ????<br />
                }<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Chen</title>
		<link>http://michael.nona.name/archives/125/comment-page-1#comment-577</link>
		<dc:creator>Michael Chen</dc:creator>
		<pubDate>Thu, 29 Dec 2005 13:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://michael.nona.name/archives/125#comment-577</guid>
		<description>1.2中BuffaloServiceServlet已经被deprecated. 请使用新的net.buffalo.web.servlet.ApplicationServlet.</description>
		<content:encoded><![CDATA[<p>1.2中BuffaloServiceServlet已经被deprecated. 请使用新的net.buffalo.web.servlet.ApplicationServlet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JasonZhang</title>
		<link>http://michael.nona.name/archives/125/comment-page-1#comment-575</link>
		<dc:creator>JasonZhang</dc:creator>
		<pubDate>Thu, 29 Dec 2005 06:43:22 +0000</pubDate>
		<guid isPermaLink="false">http://michael.nona.name/archives/125#comment-575</guid>
		<description>我现在正在参与的电信的系统，也在一些地方使用了AJAX，用的当然就是buffalo，具体效果就等用户就评价吧。
不过我觉得你在BuffaloServiceServlet中的一个错误一直没有改正，就是不能把_service,_skeleton设为类的私有变量.</description>
		<content:encoded><![CDATA[<p>我现在正在参与的电信的系统，也在一些地方使用了AJAX，用的当然就是buffalo，具体效果就等用户就评价吧。<br />
不过我觉得你在BuffaloServiceServlet中的一个错误一直没有改正，就是不能把_service,_skeleton设为类的私有变量.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ouo</title>
		<link>http://michael.nona.name/archives/125/comment-page-1#comment-574</link>
		<dc:creator>ouo</dc:creator>
		<pubDate>Wed, 28 Dec 2005 14:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://michael.nona.name/archives/125#comment-574</guid>
		<description>&lt;strong&gt;Michael的buffalo&lt;/strong&gt;

</description>
		<content:encoded><![CDATA[<p><strong>Michael的buffalo</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 清风</title>
		<link>http://michael.nona.name/archives/125/comment-page-1#comment-573</link>
		<dc:creator>清风</dc:creator>
		<pubDate>Wed, 28 Dec 2005 03:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://michael.nona.name/archives/125#comment-573</guid>
		<description>加油，老大！</description>
		<content:encoded><![CDATA[<p>加油，老大！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 宋来</title>
		<link>http://michael.nona.name/archives/125/comment-page-1#comment-572</link>
		<dc:creator>宋来</dc:creator>
		<pubDate>Wed, 28 Dec 2005 01:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://michael.nona.name/archives/125#comment-572</guid>
		<description>永远支持你！</description>
		<content:encoded><![CDATA[<p>永远支持你！</p>
]]></content:encoded>
	</item>
</channel>
</rss>
