nope. look at the code more closely. when there's only one validator, there's no validator list. it's exactly like the multicaster hack we threw in there in awt
and swing for the same reason...

Phil Kulak wrote:

On 8/11/05, Jonathan Locke <[EMAIL PROTECTED]> wrote:
i don't think you read the code correctly, either.

each component is only validated once:

       public void validate(final FormComponent component)
       {
           left.validate(component);
           right.validate(component);
       }


Not the way I see it. Left and right are ValidatorLists, so you call
validate on the left one, it calls left and right, right being
yourself... actually, I must be reading this wrong because by my logic
any more then two validators should get you an infinite recursion.
I'll take a closer look. It's not a tree is it?


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to