At 11:23 -0700 6/27/03, Jon Wilmoth wrote:
I'm reposting as the previous attempt may have gotten
lost in the new release excitement.

I'd like to know what the CURRENT plans are for
supporting date datatypes in the framework.  This
means conversion of strings --> dates for FormBean
population and the converse date --> string for
rendering FormBean values.

I think submitting a patch would be the most effective way to get this put into plans. But note that the string-to-object conversion is generally handled in Commons BeanUtils, not directly in Struts. The Struts "problem" to solve is where to specify the date format conversion, and unless you want to support only one date format for a whole application, how to pass date formats along to the form population process at the right time.


How do you propose to handle the variety of possible date formats? Between the fact that that's a mildly complicated question and the fact that at least some Struts developers think that you should just use String types for all text fields in your forms, I suspect that's why you haven't seen any "official" support.

But if you submit a patch or at least start a discussion of the implementation issues, I'm sure you'll get opinions. There are lots of those around here ;-)

Joe

--
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "If nature worked that way, the universe would crash all the time." --Jaron Lanier


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



Reply via email to