This is high on my list also. I've spent today looking at datepickers and concluded none of them are perfect and it may be best to just implement the one you want and not bother with the Tapestry one. However I do think the TypeCoercer for String to DateFormat needs to be fixed. The current one does not do setLenient(false) which I think is needed no matter what data picker is used and while most Tapestry configuration can be overridden this one cannot. I'll submit a JIRA for this. The fix is easy and even makes the current datepicker better. Here is a description of setLenient:
Specify whether or not date/time parsing is to be lenient. With lenient parsing, the parser may use heuristics to interpret inputs that do not precisely match this object's format. With strict parsing, inputs must match this object's format. I don't think you want heuristics when validating dates, you want the format to precisely match. On Tue, Sep 17, 2013 at 6:04 PM, Lenny Primak <[email protected]>wrote: > High because we have to get this done for 5.4. Probably start with > incorporating the new datefield into FlowLogix though. Not sure patch makes > sense in this case though. But I am willing to work on the datefield > modernization. > > On Sep 16, 2013, at 7:02 PM, Howard Lewis Ship <[email protected]> wrote: > > > What are the chances of a patch? > > > > I'm stretched really, really thin right now. More so than usual. I'm > > anything but a fan of the built-in DateField component for any number of > > reasons, but I can't squeeze blood from a stone. > > > > > > On Mon, Sep 16, 2013 at 7:12 PM, Lenny Primak <[email protected]> > wrote: > > > >> Just for planning purposes, what are the changes of datepicker being > >> replaced to bootstrap (or any other modern one) > >> prior to T5.4 release? > >> > >> I need to plan this out, because current T5.4 datepicker is unusable for > >> us, so if the new datepicker isn't in the cards, > >> we need to start writing our own datepicker integration. > >> > >> Thank you. > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > > > > > > -- > > Howard M. Lewis Ship > > > > Creator of Apache Tapestry > > > > The source for Tapestry training, mentoring and support. Contact me to > > learn how I can get you up and productive in Tapestry fast! > > > > (971) 678-5210 > > http://howardlewisship.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
