Marks a action method that if it's not validated by ValidationInterceptor then execute input method or input result.
Annotation usage: The InputConfig annotation can be applied at method level.
Annotation parameters:
Parameter Required Default Notes
methodName no execute this method if specific
resultName no return this result if methodName not specific
红色部分
这个翻译有关于 InputConfig中 methodName 和resultName的使用方法 本小菜尝试各种翻译方法 都觉得翻译出来的语义不对
我试试看哈!
[quote]marks a action method that if it's not validated by ValidationInterceptor then execute input method or input result. [/quote]
当一个action的方法 没有通过验证 或者别拦截的时候 执行默认的方法或者 跳转到 错误页面!
[quote]Annotation usage: The InputConfig annotation can be applied at method level. [/quote]
这个 注解的用法是 InputConfig 注解能用在方法级别!
[quote]methodName no execute this method if specific [/quote]
如果无效则不执行方面名称对应的方法!
[quote]resultName no return this result if methodName not specific [/quote]
无效的返回值是 不返回!
我E 文也比较烂! 呵呵! 希望对你有帮助!