Excellent. Any plans to make beaneditor use this or does this already work?
> On Oct 2, 2013, at 7:08 PM, Barry Books <[email protected]> wrote: > > I've uploaded the initial version to github > > https://github.com/trsvax/tapestry-datepicker > > I think I'm going to make this standalone project that only contains the > datepicker. This will make it easier for other project to just include it. > Currently to use it you will have to download and build it. Here is an > example usage > > <t:form> > <t:textfield value="date" t:mixins="datefield/JQueryDatePicker" > data-duration="slow"/> > <input type="submit"/> > </t:form> > > > All that's required is the input type be a date which causes Tapestry to > use a Date Translator to convert the data to/from a string. This also > creates the client side validation. The mixin adds the client side > interface. In this case the JQuery UI calendar. > > If you prefer you can create your own component and override the Tapestry > one. > > public class DateField extends TextField { > > @Mixin > private JQueryDatePIcker mixin; > > } > > Questions, commets etc are welcome > > Barry --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
