aspose file tools*
The moose likes Struts and the fly likes struts2 radio button validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 radio button validation" Watch "struts2 radio button validation" New topic
Author

struts2 radio button validation

Ritesh Badwaik
Greenhorn

Joined: Feb 23, 2009
Posts: 16
Hi all,
I tried the validation for radio button as follows but it is not working

<field name="ctlfilename">
<field-validator type="requiredstring">
<message>Select file</message>
</field-validator>
</field>

Can anyone tell me, how to use required validator or requiredstring validator for radio button ?

Thanks
Ritesh

 
 
subject: struts2 radio button validation