On Tuesday 16 December 2008 23:36:50 Musachy Barroso wrote:
> > 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.
> 
> There are a bunch of alternatives to this
> 
> 1. define a converter in your app
> 2. write a plugin that has a converter
> 3. write a patch to xwork XWorkBasicConverter
> 
> I kind of doubt that #3 would go thru, as we avoid having
> dependencies, as the plague. #2 sounds reasonable.


Isn't #2 what this is about?
https://issues.apache.org/struts/browse/WW-2476

What really confused me was that this issue has status "Resolved" and really 
isn't resolved at all. The attached files are not in trunk. A comment saying 
something like "This could be used to write a plugin as we don't want to 
introduce an external dependency to joda-time" and status="Won't fix" would be 
nice IMHO.

-- 
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