[ http://mc4j.org/jira/browse/STS-445?page=all ]
Tim Fennell updated STS-445: ---------------------------- Comment: was deleted > Define custom date formats in StripesResources > ---------------------------------------------- > > Key: STS-445 > URL: http://mc4j.org/jira/browse/STS-445 > Project: Stripes > Issue Type: Improvement > Components: Validation > Affects Versions: Release 1.5 > Environment: Mac OS X 10.4.11, JDK1.5.0_07 > Reporter: Iwao AVE! > Assigned To: Tim Fennell > Fix For: Release 1.5 > > Attachments: DateTypeConverter.java, DateTypeConverter.java, > DateTypeConverter.java > > > John Newman had explained the problem accurately. > I copied his comment from another issue. > http://mc4j.org/jira/browse/STS-443#action_10935 > -- > it is currently too hard to add an extra format string > 1) subclass DateTypeConverter > 2) add in format string (mess due to array) > 3) subclass TypeConverterFactory to use new DateConverter > 4) register that in web.xml > I have to do that in almost every app as every user has different ideas about > the way dates should be entered. it would be nice if I could just throw a > couple lines in that resource file and be done with it! > -- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://mc4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Stripes-development mailing list Stripes-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-development