Time picker missing

UI Components for JSF
Post Reply
Axce
Posts: 8
Joined: 14 May 2013, 09:22

03 Jun 2014, 16:17

Hi

on PFM 0.9.5 the calendar object let pick date and time, while now in PF 5 <p:calendar> lets pick only date; I tried also the code from the showcase

Code: Select all

<p:calendar id="time" value="#{beanGestioneResp.fakeDate}" pattern="HH:mm a" timeOnly="true"  />

and even if the time is shown correctly, I have no way to insert time. It seems like the calendar "widget" that pops up does support time, but not date.
I thought also to use a jquery mobile time picker, but it would be conflicting with the PF mobile calendar look, yet if there isn't any other way to have a time picker I will try this way.
If anyone has any suggestion it would be appreciated.

Thanks in advance

P.S. <p:calendar> has also a strange behaviour, when clicking on the input field from a mobile device (I noticed it with safari) both the calendar popup and the phone keyboard pop out, while with the calendar before PF 5 this problem was not present.

albatros
Posts: 27
Joined: 01 Apr 2011, 23:17

04 Jun 2014, 17:20

Oh Ya, I'm missing the Timepicker too!

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

05 Jun 2014, 21:49

not every component is implemented in PF5.0 Mobile part...

typhon
Posts: 72
Joined: 28 Jul 2013, 14:22

21 Aug 2014, 17:12

Hello,

is it possible to use the calendar.js and calendar.css from primefaces mobile 1 with primefaces 5 to use the time picker?
Netbeans 8, Tomat 8.0.3.0, PF5 RC2, JSF2.2.7 ,jre8

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

22 Aug 2014, 09:09

no idea... try it I'd say...

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

26 Sep 2014, 16:14

Since PrimeFaces 5 = jquery Mobile 1.4, refer to jquery Mobile Text inputs API for date, time, datetime.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 50 guests