Ok, not really ;)  But this is kinda weird.

The app that gets generated from the starter archetype makes a bad assumption about the date format that is displayed by default. When this date is submitted, it gets converted using a date format of yyyy/ MM/dd, but was displayed initially as M/dd/yy (8/7/07).


That field on the action specifies a converter, but that converter is not consulted until the page is submitted. So, when you submit the page, the month and year get swapped.

So, is the problem:
a) Struts is supposed to call convert regardless of get or post
b) Struts is doing it correctly, but we just have the wrong format
c) James Mitchell is a moron, and doesn't know what he's doing


I'm secretly hoping it's not c ;)


--
James Mitchell




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

Reply via email to