lishunli / nutz

Automatically exported from code.google.com/p/nutz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

建议nutz.mvc添加验证支持

GoogleCodeExporter opened this issue · comments

建议nutz.mvc添加验证支持,当然先给这点这方面的例子也好.

Original issue reported on code.google.com by lhasa...@gmail.com on 4 May 2010 at 6:21

等提供了一个 Demo , 就 fix 这 issue

Original comment by zozoh...@gmail.com on 5 May 2010 at 7:27

  • Added labels: FAQ, Milestone-Future
  • Removed labels: ****

Original comment by wendal1985@gmail.com on 6 May 2010 at 8:28

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Original comment by wendal1985@gmail.com on 13 May 2010 at 10:25

  • Added labels: Module-Mvc
  • Removed labels: ****
Issue 51 has been merged into this issue.

Original comment by zozoh...@gmail.com on 14 Aug 2010 at 5:51

  • Added labels: ****
  • Removed labels: ****
打算写个Aop的拦截器来试试解决这个问题,哈哈

Original comment by wendal1985@gmail.com on 17 Oct 2010 at 1:38

  • Added labels: ****
  • Removed labels: ****
建议将我写的《在Nutz框架中提供Pojo校验(验证)功能的支持
》文章中的源码直接嵌入到nutz中。这个简化的验证框架提供�
��12种常见的验证形式,并支持自定义正则表达式,基本上可�
��满足实际使用的需要。对于有特殊要求的字段验证,允许用
户自己定义验证的方法。
详见 http://helloqiner.iteye.com/admin/blogs/982157

另,申请加入 nutz 的代码提交者

Original comment by Qin...@gmail.com on 19 Apr 2011 at 6:41

  • Added labels: ****
  • Removed labels: ****
额,简单看了一下,感觉不错.

今晚仔细看

Original comment by wendal1985@gmail.com on 19 Apr 2011 at 10:17

  • Added labels: ****
  • Removed labels: ****
恩,我感觉也不错, 
不过还是不打算在核心包里放它,但是如果作者有愿意,是��
�是可以放在 
nutzmore.googlecode.com 里呢?

我个人统一给这位好同学 nutz 以及 nutzmore 
的提交权限,博文已经收录在“推荐文章” 里了:
  http://code.google.com/p/nutz/wiki/appendix_resources

Original comment by zozoh...@gmail.com on 19 Apr 2011 at 11:26

  • Added labels: ****
  • Removed labels: ****
太好了,第一次参与开源项目的代码提交,兴奋ing~~
可是现在遇到问题,以前没有google code上提交过代码,进入 
http://code.google.com/p/nutzmore/source/checkout 页面后不知怎么提交?
另,我的 svn 用户名、密码和我的 google 账号一样吗?
我的google 账号为 qinerg@gmail.com 

Original comment by Qin...@gmail.com on 20 Apr 2011 at 3:28

  • Added labels: ****
  • Removed labels: ****
我差点忘记说意见了,呵呵:

1. 注解支持public void xx (@Validations(required=true) String abc)
2. 定义一个异常类, 
如果受检查的方法没有Errors参数的话,不妨抛出一个ValidationExp

Original comment by wendal1985@gmail.com on 20 Apr 2011 at 6:20

  • Added labels: ****
  • Removed labels: ****
Google Code需要用https进行check out,不然无法上传

帐号就是你的google用户名,密码是独立的,google生成的,在check 
out页面有相关链接.

Original comment by wendal1985@gmail.com on 20 Apr 2011 at 6:22

  • Added labels: ****
  • Removed labels: ****
如果没人反对,今天晚上我会把 Qin 加入 nutz 和 nutzmore 
的提交者里 :)

Original comment by zozoh...@gmail.com on 20 Apr 2011 at 7:04

  • Added labels: ****
  • Removed labels: ****
加!! 呵呵

不过, 37版马上就要发布了,尽量只改bug哦,嘻嘻

Original comment by wendal1985@gmail.com on 20 Apr 2011 at 9:05

  • Added labels: ****
  • Removed labels: ****
大哥,把你的邮箱地址发给我,不然无法加你进项目啊

Original comment by wendal1985@gmail.com on 21 Apr 2011 at 10:42

  • Added labels: ****
  • Removed labels: ****
我发了封邮件到 QinerG@gmail.com,不知道是不是他常用的 GMail

Original comment by zozoh...@gmail.com on 22 Apr 2011 at 5:59

  • Added labels: ****
  • Removed labels: ****
作为扩展吧
nutzmore里面有参考实现

Original comment by wendal1985@gmail.com on 30 Jan 2012 at 8:39

  • Changed state: WontFix
  • Added labels: ****
  • Removed labels: ****