开发者

validation to a radio List in struts 2

开发者 https://www.devze.com 2023-03-10 06:27 出处:网络
I have a surveying appl开发者_开发百科ication were each question in an iterated list needs to have at least one of its optional answered selected.

I have a surveying appl开发者_开发百科ication were each question in an iterated list needs to have at least one of its optional answered selected. I want to validate using struts 2 , that each question has been answered. many thanks, Mbayader


One ways to accomplish on your requirement is by extending the class struts2 ActionSupport class. Then you should override the super validate() method to your business requirement in which you have mentioned in your question.

0

精彩评论

暂无评论...
验证码 换一张
取 消