first you should implement convertintput() not setconvertedinput().
inside your impl of convertinput() you should call setconvertedinput()
with the right value.
this is indeed important as the converted input is what is passed into
validators. so if you need your panel to support validators you
Hi , I am evaluating FormComponentPanel .
I looked into the document , it seems setConvertedInput() is the proper way
.
I use another method , which skips the setConvertedInput() , I don't know if
it is suggested :
Here is the code :
public class TimePanel extends FormComponentPanel
{
private
PropertyModel(time , year)).add(
NumberValidator.POSITIVE));
And it still works (including the validator)
-
Michael Sparer
http://talk-on-tech.blogspot.com
--
View this message in context:
http://www.nabble.com/FormComponentPanel-and-setConvertedInput%28%29-tp14760809p14762773.html
Sent