Guys, Which the best pattern using wicket to write validation rule that span over more than one field?!
Take in consideration the following use case: There is a form with two field Field-A and Field-B. Field-A is mandatory and contains a date value. So this is trivial: setRequired(true) + a DateValidator Field-B validation depends on the date value entered in Field-A and is mandatory only for certain date value entered in Field-A. So basically how write a validator that depends on values entered in other fields? Thank you. / Paolo
