struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris <christal...@yahoo.fr>
Subject form-xml-validation sample / boolean validator / over21
Date Wed, 21 Oct 2015 08:41:56 GMT
Struts 2.5 BETA2 / form-xml-validation  sample /  boolean validator /  

Hello, 
https://github.com/apache/struts-examples/blob/master/form-xml-validation/src/main/webapp/edit.jsp
The edit.jsp file  contains this line <s:checkbox key="personBean.over21" />
but the file EditAction-validation.xml doesn't contain a validation for this boolean.

How I could use in the EditAction-validation.xml
the good one validation for a boolean ?Could be also very usefull with an agree/disagree checkbox  


PS: This is not a checkboxlist, but a checkbox 

Regards, 

chris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message