Re: [Wicket-user] AbstractConverter and ParsePosition

2006-07-07 Thread Eelco Hillenius
Yeah, that sounds like something we should like. Eelco On 7/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Ok, Wicket probably wants to prevent that a bogus value '07.07.2006trail' is > parsed. > > But shouldn't is be possible to convert '07.07.2006 '? How about adding a > trim()? > >

Re: [Wicket-user] AbstractConverter and ParsePosition

2006-07-07 Thread sven
Ok, Wicket probably wants to prevent that a bogus value '07.07.2006trail' is parsed. But shouldn't is be possible to convert '07.07.2006 '? How about adding a trim()? Sven >AbstractConverter checks the ParsePosition to ensure that the complete value >is parsed: > >>if (position.getIndex()

[Wicket-user] AbstractConverter and ParsePosition

2006-07-07 Thread sven
AbstractConverter checks the ParsePosition to ensure that the complete value is parsed: >if (position.getIndex() != stringValue.length()) >{ > throw newConversionException("Cannot parse '" + value + "' using format " + > format, >value, null).setFormat(format); >} Thus trailing whitesp