Reputation: 397
The <p:schedule>
always shows today's date as initial date. I would like to change the initial date to an arbitrary date. How can I achieve this?
Upvotes: 0
Views: 4256
Reputation: 397
Now i was able to display the date i what i want to display from Calendar to the Schedule
I have used
<p:calendar value="#{Bean.value}" />
<br/>
<p><p:commandButton oncomplete="dialog.show()" value="Submit" update="display"/></p>
<p:schedule id="display" initialDate="#{Bean.value}" view="agendaDay" widgetWar="dialog" />
and for bean i used Getters & Setters and finally the Result is
http://i46.tinypic.com/2j26mvt.png
Upvotes: 1