发现springmodules validation的问题
来源:互联网 发布:mes生产管理系统 源码 编辑:程序博客网 时间:2024/04/29 16:49
the solution for the error "does not support command class" error is that your validator xml form name does not match the class name (w/lower case 1st letter)
My redux redux is:
for a domain/entity class named SomeDumbClass:
?The commandClass in the Spring servlet config is com.foo.bar.SomeDumbClass
?The form name in the validation file must be someDumbClass
?The form name in the <v:javascript> tag in the JSP must be someDumbClass
? The name in the HTML form tag must be someDumbClassForm and the onsubmit attribute of the HTML form tag must be 'return validateSomeDumbClass (this)'
?Field names in the validation file will match the generated HTML names of the inputs
Thanks again Matt!
来自http://jroller.com/page/raible?anchor=using_commons_validator_with_spring
竟然用这种奇怪方法!
My redux redux is:
for a domain/entity class named SomeDumbClass:
?The commandClass in the Spring servlet config is com.foo.bar.SomeDumbClass
?The form name in the validation file must be someDumbClass
?The form name in the <v:javascript> tag in the JSP must be someDumbClass
? The name in the HTML form tag must be someDumbClassForm and the onsubmit attribute of the HTML form tag must be 'return validateSomeDumbClass (this)'
?Field names in the validation file will match the generated HTML names of the inputs
Thanks again Matt!
来自http://jroller.com/page/raible?anchor=using_commons_validator_with_spring
竟然用这种奇怪方法!
- 发现springmodules validation的问题
- 基于springmodules的缓存方案
- 基于springmodules的缓存方案
- JQuery Validation插件的问题
- Struct2 Validation验证碰到的问题!!
- 配置struts validation遇到的一些问题
- EnterpriseLibrary Validation的配置导致AmbiguousMatchException问题
- 昨天发现新的问题
- 发现VS的小问题
- 发现的问题, 没有解决
- 发现一个FireFox的问题
- 从财务报表发现的问题
- 实践中发现的问题
- 初学android发现的问题
- 发现android的一个问题
- 查看代码发现的问题
- 之前没有发现的问题
- 安卓发现的问题
- 一个DataGrid多次绑定不同数据的时候我的用法
- linux启动不了mysql
- 使用Spring OpenSessionInViewFilter的缺点
- 好老头张中行
- 溜冰
- 发现springmodules validation的问题
- SO CRAZY~~`
- 解决了Hibernate+Spring+Struts架构使用OpenSessionInView的问题
- 把ASP应用中的Session传递给asp.net应用
- 在C#.Net中判斷輸入的字串是否是數字的方法
- 解决dao层单元测试问题
- 迎接挑战:把系统迁移到Java5平台
- 开始看ACM题目
- 暑假实习自荐信