Hi,
I recently set up Appfuse 2.0M3 on my machine at home so i could play
around with it a bit. Coming from a Struts background i decided to try
out Spring MVC and so i downloaded and ran the Spring MVC Basic package.
All is working fine after following the excellent quickstart guide on
the appfuse site.
One problem i encountered when trying to develop the application further
was how to handle date inputs. I have had problems with this in Struts
before and ended up writing a conversion class to convert Dates in
String format to java.util.Date objects. I don't know if this is the
right approach to take and i would like to get opinions on this.
Basically what i am looking for is help on the best approaches for the
following:
1. Adding a date to a html form. (Previously i used a javaScript
calendar which worked fine)
2. Validating the date using Commons Validator (validation.xml)
3. Should the date be String or Date when it reaches the Controller
(Hope i'm using the correct term!)
4. Any resources, links or examples of the above.
Thanks in advance
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]