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]

Reply via email to