Did you make sure to use the code exactly (it calls SET on the concrete 
implementation rather than the standard way of just adding a converter to the 
interface)?

Which version are you using?  This problem appeared in 1.3, and I have tested 
my fix in all versions of of 1.3 and 1.4-m1 and m2.

You can set a breakpoint in your implementation and in the default with Wicket 
to see which is getting called.  Let me know what you find.

Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device


-----Original Message-----
From: Michael Mehrle <[EMAIL PROTECTED]>
Sent: Saturday, May 31, 2008 8:57 PM
To: users@wicket.apache.org
Subject: RE: Timestamp -> java.util.Date convertion in Wicket

Hello Jeremy:

I added the converter to my apps init() method per your example but the
problem persists. I keep seeing 12:00am instead of the date. Any
suggestions?

Michael

-----Original Message-----
From: Jeremy Thomerson [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 30, 2008 7:35 PM
To: users@wicket.apache.org
Subject: RE: Timestamp -> java.util.Date convertion in Wicket

Found a link:

http://markmail.org/message/m5cyca4vsrrvcrid

Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device


-----Original Message-----
From: Michael Mehrle <[EMAIL PROTECTED]>
Sent: Friday, May 30, 2008 8:55 PM
To: users@wicket.apache.org
Subject: Timestamp -> java.util.Date convertion in Wicket

I am persisting java.util.Date objects to the DB but am getting
Timestamp objects back (no surprise there since the hibernate type is
set to 'timestamp'). Wicket converts the Timestamp and populates my
field without complaining but all I'm getting is the time (12:00am - the
default start time since it wasn't set due to it originating as a Date).
Is there some sort of default converter? I assume this is a common
scenario.

 

Thanks,

 

Michael 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to