Multiple date selection in calendar (PF 3.0.M2)

UI Components for JSF
Post Reply
pstawik
Posts: 25
Joined: 25 May 2011, 08:52
Location: Poland

23 Aug 2011, 11:58

Hi
Is it possible to choose many dates in calendar? I know, that in PF 1, there was an attributte of p:callendar called "selection". In PF 3, there isn't that attribute; please tell me: how can I select many dates in p:calendar?
Best regards
Piotr
PrimeFaces 11

User avatar
leventgny
Posts: 238
Joined: 24 May 2011, 16:49
Contact:

23 Aug 2011, 12:30

There is not such kind behavior on PF 3.0 labs. Maybe you can try to use date select event for collecting each selection.

Code: Select all

<p:calendar value="#{calendarBean.date1}" mode="inline">  
        <p:ajax event="dateSelect" listener="#{calendarBean.handleDateSelect}" update="dateList" />  
</p:calendar>
PrimeFaces Team Member

pstawik
Posts: 25
Joined: 25 May 2011, 08:52
Location: Poland

23 Aug 2011, 12:39

Thanks ironhide for replay, but one of my use case is to present same collection of dates on the calendar. Scheduler component isn't good for me becouse, there is only at most month scope, and in my collection of dates there are dates from few months. In PF1 I put collection of dates to the calendar value, and everthing was OK. In PF3 there isn't such possibility and I don't know why - it was great feature.
PrimeFaces 11

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

27 Aug 2011, 14:45

Feel free to create a feature request.

Manu Mp
Posts: 1
Joined: 23 May 2018, 11:18

23 May 2018, 11:31

Hi .
I am Using primefaces 6.1 version. In this Version calendar component not having a select attribute . i want to select multiple date in calendar component . How can i ..? Plz Help me .

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

23 May 2018, 15:12

Please create a new topic. Multiple date selection was not implemented

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 27 guests