Use SpringFramework, SimpleFormController, and CustomDateEditor.
When the date input doesn't match the specified format, it will report an error message. The message is very much in Java developer's language, not user oriented.
To replace the message with your own, just put a line like that in your messages.properties,
typeMismatch=Invalid or incomplete input.
Thursday, April 24, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment