Re: [Wicket-user] Issues with Validators

2007-01-24 Thread Igor Vaynberg
yep, that will do it -igor On 1/24/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: private class ExistingUserValidator extends StringValidator{ public void onValidate(FormComponent formComponent, String string) { //lookup database //if username taken

Re: [Wicket-user] Issues with Validators

2007-01-24 Thread Ayodeji Aladejebi
private class ExistingUserValidator extends StringValidator{ public void onValidate(FormComponent formComponent, String string) { //lookup database //if username taken // error(formComponent) } protected String resourceKey(FormComponent formCo

[Wicket-user] Issues with Validators

2007-01-24 Thread Ayodeji Aladejebi
What are proper ways to build custom validators, i seem to loose touch when i checked IValidator doc and i saw "THIS IS NOT PART OF PUBLIC API" and then I looked at CustomValidator and every thing in deprecated. Is there any newest approach for writing a custom validator For instance I want to va