Yes, I suppose it depends on the application, use cases, user skill, etc. Note, it appears that to use the keyboard with Time Entry, you have to either read some instructions, or fiddle around until you figure it out -- so, not the best for casual users just entering one or two times, but yes, probably more efficient for a knowledgeable user entering lots of times. I guess the question is which approach makes more sense for the default widget in web2py.
(Note, it appears you can use the keyboard with ClockPick as well -- you have to use the mouse to get started, but then you can use the arrow and enter keys to quickly select a specific time). Anthony On Nov 13, 2:36 pm, villas <villa...@gmail.com> wrote: > Hi Anthony > > Please bear in mind that anyone doing serious form filling should not > have to use a mouse at all. Use the arrow keys instead - it flies. > Most people entering times will be using an increment of say 15 or 30 > mins which makes it go at jet speed. > > -D > > On Nov 13, 7:08 pm, Anthony <abasta...@gmail.com> wrote: > > > > > I agree. If you go to the Spinners tab and check "Expand", things > > improve somewhat (particularly the explicit version, with "+", "-", > > and "NOW"), but still a hassle that you have to cycle through all the > > numbers (or manually type). > > > Anthony > > > On Nov 13, 12:06 pm, Branko Vukelic <bg.bra...@gmail.com> wrote: > > > > Oh, noes! This widget suffers from so many usability issues I can't > > > believe it still exists. > > > > 1. controls are microscopic > > > 2. it's not obvious you can switch between fields by clicking on them > > > since fields are enclosed in a single box with no visible separators > > > 3. you cannot jump to desired values (you must cycle through values) > > > > The optimal control would: > > > > 1. use familiar mechanism for selecting values > > > 2. enable jumping to desired values > > > 3. separate the components > > > > A set of drop-downs or text boxes will do just fine in satisfying the > > > above requirements. I'll write the widget for you if you want, as soon > > > as I'm done with e4s layout. > > > > On Sat, Nov 13, 2010 at 5:55 PM, mdipierro <mdipie...@cs.depaul.edu> > > > wrote: > > > > Ok timeEntry it is. I will replace it today. > > > > > On Nov 13, 8:24 am, Nathan Freeze <nat...@freezable.com> wrote: > > > >> This would be a good slice :) > > > > >> On Sat, Nov 13, 2010 at 6:29 AM, villas <villa...@gmail.com> wrote: > > > >> > If you want to try it... > > > > >> > 1). Download files: > > > >> >http://keith-wood.name/timeEntry.html > > > >> > Optionally this: > > > >> >http://plugins.jquery.com/files/jquery.mousewheel.3.0.2.zip > > > > >> > 2). Add to views/layout.html > > > >> > {{response.files.append(URL(request.application,'static','css/ > > > >> > jquery.timeentry.css'))}} > > > >> > {{response.files.append(URL(request.application,'static','js/ > > > >> > jquery.timeentry.js'))}} > > > >> > {{response.files.append(URL(request.application,'static','js/ > > > >> > jquery.mousewheel.min.js'))}} > > > > >> > 3). Make sure those 3 files above are copied into the folders under > > > >> > static dir. > > > > >> > 4). Copy spinnerDefault.png into static/images > > > > >> > 5). In views/web2py_ajax.html replace this: > > > > >> > try { jQuery("input.time").clockpick({ > > > >> > starthour:0, endhour:23, showminutes:true, military:true > > > >> > }); } catch(e) {}; > > > > >> > ...with... > > > > >> > try { jQuery("input.time").timeEntry({spinnerImage: > > > >> > "{{=URL('static','images/spinnerDefault.png')}}", show24Hours: true, > > > >> > timeSteps: [1, 30, 0], minTime: new Date(0, 0, 0, 7, 00, 0), > > > >> > maxTime: > > > >> > new Date(0, 0, 0, 22, 00, 0) > > > >> > }); } catch(e) {}; > > > > >> > I included a couple of optional settings so you can see how they work > > > >> > in combination. > > > > >> > It only takes a couple of minutes to set it up like this. Hope I > > > >> > didn't forget anything. :) > > > > >> > -D > > > > -- > > > Branko Vukelić > > > > bg.bra...@gmail.com > > > stu...@brankovukelic.com > > > > Check out my blog:http://www.brankovukelic.com/ > > > Check out my portfolio:http://www.flickr.com/photos/foxbunny/ > > > Registered Linux user #438078 (http://counter.li.org/) > > > I hang out on identi.ca:http://identi.ca/foxbunny > > > > Gimp Brushmakers Guildhttp://bit.ly/gbg-group-Hidequoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -