I am trying to achieve multiple selection of dates functionality with p:calender(primefaces 3.3), in this way.
<p:calendar id="cal" showButtonPanel="true" mode="inline"
value="#{bean.dates}" selection="multiple"/>
In Backing bean I have taken dates as a array in this way:
private Date[] dates;
public Date[] getDates() {
return dates;
}
public void setDates(Date[] dates) {
this.dates = dates;
}
But still didnt able to select multiple dates.
As per this blog http://blog.primefaces.org/?p=391 it works.
I tried to implement in same way .but did'nt worked. Why is it so?