Igor Vaynberg <igor.vaynberg <at> gmail.com> writes:

> 
> 
> you want to use a form validatorsee IFormValidator and its hierarchy-igor
> 
> On 11/9/06, Renaut, Jonathan E CTR DISA GIG-CS <
> Jonathan.Renaut.ctr <at> disa.mil> wrote:
> 
> 
> 
> 
> 
> 
> 
> 
> I have a form containing two CheckBoxMultipleChoice objects.  I would like to
validate them to ensure that something is checked.  One can have nothing
checked, but not both.  In other words, it is okay if validation fails on one,
but not if it fails on both.  Is there an easy way to do this?
> 
> Thanks
> 
> 
> 
> 
> -------------------------------------------------------------------------Using
Tomcat but need to do more? Need to support web services, security?Get stuff
done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________Wicket-user
mailing list
> Wicket-user <at>
lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Can I then prevent the individual validation messages from printing?  I don't
want to print a message for the components that fail, since the form validates
if at least one component validates.  And if all components fail, causing the
form to fail, I don't want to print out "component 1 fails" then "component 2
fails", etc.  I just want to print out one message for the entire form failing
to validate.




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to