Re: form-xml-validation sample / boolean validator / over21

2015-10-22 Thread Chris
Obviously I am speaking to other users as is the case for me, do not have too much knowledge of the use of these functions. Not to the Struts conceptors.;-)Be carreful, double equal sign is good for comparaison,... Le Mercredi 21 octobre 2015 16h15, Chris a écrit :

Re: form-xml-validation sample / boolean validator / over21

2015-10-21 Thread Chris
Hi,Thank, It works with fieldexpression. I tried this :         personBean.over21         You must be 21 or older          Be carreful, double egal sign is good for comparaison, but only one egal sign is an affectation !  = = = = = = = = = = = = = = = =  = = = = = = = =  = = = I

Re: form-xml-validation sample / boolean validator / over21

2015-10-21 Thread Chris
Hi, I don't know what PRs means.  :-) I already tried "required" with checkbox, but it doesn't work.         personBean.over21     You must be 21 or older       ...( checked or not is always OK) In my opinion, I would prefer to use Checkbox  instead of the Radio buttons to give

Re: form-xml-validation sample / boolean validator / over21

2015-10-21 Thread Lukasz Lenart
2015-10-21 12:22 GMT+02:00 Chris : > Hi, > > I don't know what PRs means. :-) PR means Pull Request on GitHub - a change from some other user > I already tried "required" with checkbox, but it doesn't work. > > personBean.over21 > You must be 21 or

Re: form-xml-validation sample / boolean validator / over21

2015-10-21 Thread Lukasz Lenart
2015-10-21 10:41 GMT+02:00 Chris : > 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 > but the file

form-xml-validation sample / boolean validator / over21

2015-10-21 Thread Chris
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 but the file EditAction-validation.xml doesn't contain a validation for this