This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes struts2 validate a checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "struts2 validate a checkbox" Watch "struts2 validate a checkbox" New topic
Author

struts2 validate a checkbox

Bhaarat Sharma
Ranch Hand

Joined: Jun 04, 2007
Posts: 96
Hello

I am trying to validate a simple checkbox like this but it isnt happening at all


when validation errors are found the return statement will automatically be 'input' and i have configured that in my struts config file. The validation for the name field is happening fine and that is a <s:textfield tag. but for <s:checkbox it isnt working.

what is the way to validate a simple single checkbox


omnipresent
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: struts2 validate a checkbox
 
Similar Threads
Struts2: preselect checkbox
Vallidation Using Annotation + Struts 2
struts2 validation with conditions!
Struts2: Problem with form validation using validation xml
How to validate using annotation