dateSpinner mode in Calendar

UI Components for JSF
Post Reply
User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

26 Aug 2011, 00:36

Hello PrimeFaces team,

What do you think can you add spinner buttons to the Calendar to increase / decrease days? I've blogged about it here http://ovaraksin.blogspot.com/2011/08/c ... inner.html I just wanted to ensure whether we have to port code after PF 3.0 release or there is a chance to have this feature (new dateSpinner="true" attribute) as a built-in feature.

Best regards.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

26 Aug 2011, 00:48

Great work on the technical side as usual Oleg, but I'm not sure about using a spinner for date picker from the usability point of view. When I see a site with a spinner to select date, I just don't like it as it seems to make things harder.

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

26 Aug 2011, 09:14

Thanks. Maybe you are right.

Spinner is actually not for date selection :-) For date selection there is popup mode (click on icon or input field --> pick date). Spinner is for fast date in-, / decrementation: + 1 / -1 day. Only one click is needed. Such datepicker makes sense e.g. for time activities or in search masks. So, if you can imagine any other use cases, keep simple in mind this possibility please. Maybe for 4.0 release :-)

Kind regards.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 48 guests