you can always override form.validate() { super.validate(); // do any
sort of form-level validation here }-igor On Mon, Apr 21, 2008 at 6:17 AM, Milan Křápek <[EMAIL PROTECTED]> wrote: > Hi, > I encountered a problem with wicket form validation, that I am not able to > solve myself. The situation is that I have some form with some TextFields. > These TextFields are generated from a ListView and represents ordering of > user applications. I added to each TextField the NumberValidator. That's > easy. But a user is asked to fill the TextFields with number and the number > must be in interval from zero to the number of his applications and the > numbers cannot be repeated. > I am using wicket 1.3.0. I saw in previous versions that there was some > validator, that can be filled by numerous of FormComponent object and then > this validator can work with this collection. I thought this perfect match my > needs. But I am not able to find this type of Validator in wicket 1.3.0. Is > this type deprecated? Is there any alternative validator? Or should I > override AbstractValidator and make one on my own? > If anybody solved the same problem I will be very glad for any snippet of > code. I realy dont know how to Validate the ListView I have. > > Thanks for your advice. > > Milan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
