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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts2 radio button validation
 
Similar Threads
struts2 xml validator error message placement?
Struts2 Mapping Validation
validation problem in ActionClass-validation.xml
Conditional validation in Struts2
error in validation