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
Multiple date selection in calendar (PF 3.0.M2)
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
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
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Feel free to create a feature request.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 27 guests