With JSR 310 on the way, you'll be ahead of your time if you support DateTime ;)
While you obviously have to support java.util.Date, it sounds like a great idea to sort of promote Joda-Time by providing out of the box support for DateTime. Partly due to JSR 310, I bet you'll see more and more shops coming to the same conclusion we did recently: stop hiding Joda-Time exclusively inside complex date/time logic and just push it all the way through the app -- from persistence layer to UI. -Ryan On Feb 16, 2007, at 11:49 PM, Eelco Hillenius wrote: > On 2/15/07, ChuckDeal <[EMAIL PROTECTED]> wrote: >> >> I was trying to use the datetime.DateTextField and it was giving >> me a little >> grief when I was trying to use DateTime objects with it. It was my >> understanding that that datetime project was to be built around >> the joda >> package. Here is a patch the removes the java.util.Date "stuff" >> in an >> attempt to be a pure DateTime converter. >> >> With the following patch in place, my code works properly (ie, no >> errors >> parsing or returning dates). Let me know if I'm on the wrong >> track here, >> please. > > Hmmmm. Yeah, I can see your point. My - original - idea was to use > Joda-time internally and have this thing work for normal > java.util.Dates transparently. > > I think the best way to do here is to create another converter, the > other one being fully based on joda time and build a separate text > field for it etc. I definitively want to support normal dates, but I > realize it's quite logical to expect wicket-datetime to work with > joda-time all the way as well. > > What do you think? > > Eelco > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
