2008/1/12, Igor Vaynberg <[EMAIL PROTECTED]>:
>
> first you should implement convertintput() not setconvertedinput().
> inside your impl of convertinput() you should call setconvertedinput()
> with the right value.
Sorry , it's my typo , I meant convertInput() as you mentioned.
this is indeed important as the converted input is what is passed into
> validators. so if you need your panel to support validators you will
> need to implement the method.
>
> -igor
>
Thank you.
But I still can add validators as following :
add(new TextField("year" , new PropertyModel(time , "year")).add(
NumberValidator.POSITIVE));
And it still works (including the validator)....