Hi Dimitris, That's extremely kind and generous of you, thank you! I owe you a few beers, if you happen to have a paypal address hooked up to your email account I can send you a little something (Not much as I'm currently a student myself, but just to buy yourself a few beers on me).
Cheers, Steve C On 3 May 2015 at 11:28, Dimitris Zenios <dimitris.zen...@gmail.com> wrote: > Sure I will put them here as an attachment so everybody can see it > > You will also need to > 1.Put the datetimepicker library inside META-INF/modules/datetime/. > 2.Put the datetimepicker css inside META-INF/assets/other/css/. > > The example I have attached is using Java 8 LocalDateTime but it can be > adopted in order to use java.util.Date > > Thanks > Dimitris Zenios > > On Fri, May 1, 2015 at 9:41 PM, Stephen Nutbrown <steves...@gmail.com> > wrote: >> >> Hi Dimitris, >> >> Wow, as it happens that's the exact same one I was having problems >> implementing! >> >> It would be awesome to have some kind of tapestry5 component >> marketplace. Perhaps another thing for another day. >> I feel very cheeky asking, but would you be up for (able to) send me >> the code, i'd be more than happy to pay for a few drinks for you? >> >> Thanks, >> Steve >> >> On 1 May 2015 at 11:24, Dimitris Zenios <dimitris.zen...@gmail.com> wrote: >> > For tapestry 5.4 i have been using this javascript library >> > https://eonasdan.github.io/bootstrap-datetimepicker/ >> > >> > and a custom component extending AbstractField >> > >> > >> > >> > >> > On Fri, May 1, 2015 at 1:15 PM, Stephen Nutbrown <steves...@gmail.com> >> > wrote: >> > >> >> Hi, >> >> >> >> I have been looking for a date + time picker for Tapestry. I'd like a >> >> form component which will bind to a java.util.Date object, and asks >> >> for a time as well as a date. >> >> >> >> I haven't had much luck, i've found bits of code here and there for >> >> older versions of tapestry. I would have thought this component would >> >> be one which comes with Tapestry out of the box, as I would think it's >> >> a common requirement. >> >> >> >> I tried to create my own component which extends AbstractField, based >> >> on the source code I can see for the >> >> >> >> >> >> http://tapestry.apache.org/5.3/apidocs/src-html/org/apache/tapestry5/corelib/components/DateField.html#line.52 >> >> but I ran in to some issues (I think perhaps I just didn't have enough >> >> patience, I will need to revisit it if I am to try again - it's a bit >> >> of a learning curve for me). >> >> >> >> Is there a simpler way to do this? Am I going in the right direction >> >> trying to create a new component which extends AbstractField? If there >> >> was one that is known to work on the latest versions of tapestry and >> >> with jQuery as the js provider (or not requiring jQuery/Prototype), I >> >> would really appreciate a link. If not, any guidance on if my approach >> >> is sensible, if it is.. i'll just try again this evening. >> >> >> >> >> >> Any help is really appreciated. >> >> Thanks, >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org