I also looked at this method:
/**
* Gets whether this component is to be validated.
*
* @return True if this component has one or more validators
*/
public final boolean isValidated()
{
return this.validators != null;
}
i find the name of this method strange.
isValidated() says to me that the component is validated.
Not that it has Validators... (hasValidators() is i think a better name)
on the other hand if you look it from another side then you you can say
"this component is validated when the data is updated because it has
validators"
I just think that isValid() and isValidated() could confuse people
because it looks the same.
johan
-------------------------------------------------------
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