On Tuesday 16 December 2008 23:14:50 Musachy Barroso wrote:
> It doesn't mean that it will convert from string to a joda object, it
> means that it will convert a string in ISO 8601 format, to a Date
> object. The patch in that ticket used joda lib to create the ISO 8601,
> if I don't remember wrong.

Ok, so you're saying that Struts2 (even in trunk) is unable to handle joda-time 
dates out of the box? That's a pitty. In 2008, is anyone actually using pure 
java.util.Date anymore?

Previously I've created container-objects to wrap joda-classes, which works but 
shouldn't be necessary. I kind of hoped that Struts-2 in its most modern form 
(trunk) included converters for the most common object-types. I think, for what 
it's worth, the ticket is missleading and that it should be commented somewhere 
that Struts-2.1 will not support joda-time.

I know this sounds kind of rant-ish, but there are so many good things about 
Struts2 that missing out-of-the-box joda-support is kind of hard to swallow...

-- 
Andreas Joseph Krogh <andr...@officenet.no>
Senior Software Developer / CEO
------------------------+---------------------------------------------+
OfficeNet AS            | The most difficult thing in the world is to |
Karenslyst Allé 11      | know how to do a thing and to watch         |
PO. Box 529 Skøyen      | somebody else doing it wrong, without       |
0214 Oslo               | comment.                                    |
NORWAY                  |                                             |
Tlf:    +47 24 15 38 90 |                                             |
Fax:    +47 24 15 38 91 |                                             |
Mobile: +47 909  56 963 |                                             |
------------------------+---------------------------------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to