struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: form-xml-validation sample / boolean validator / over21
Date Wed, 21 Oct 2015 10:39:07 GMT
2015-10-21 12:22 GMT+02:00 Chris <christalkto@yahoo.fr>:
> 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.
>     <validator type="required">
>         <param name="fieldname">personBean.over21</param>
>         <message>You must be 21 or older</message>
>     </validator>
>
> ...( checked or not is always OK)

interesting ... try with
http://struts.apache.org/docs/fieldexpression-validator.html


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message