[Wicket-user] DateTextField with Timestamp

2006-08-02 Thread Nili Adoram
Hi all, I want to use a DateTextField but the model object is a Timestamp. However, the looking at the converters registry for a suitable converter is done with Date.class. Even though Timestamp extends java.util.Date it will never find a suitable converter and use a StringConverter. Please

Re: [Wicket-user] DateTextField with Timestamp

2006-08-02 Thread Igor Vaynberg
decorate the model to do the conversion or override getconver() onthe textfield-IgorOn 8/2/06, Nili Adoram [EMAIL PROTECTED] wrote:Hi all,I want to use a DateTextField but the model object is a Timestamp. However, the looking at the converters registry for a suitable converteris done with

Re: [Wicket-user] DateTextField with Timestamp

2006-08-02 Thread Eelco Hillenius
Yeah. See for example wicket-examples/FormInput Eelco On 8/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote: decorate the model to do the conversion or override getconver() onthe textfield -Igor On 8/2/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, I want to use a DateTextField but the