Reputation: 1
I`m preparing application where user can book a room for specified period. I want to show user a calendar where he will be able to select start and end date of his reservation, but i also want to markup the days in which the room has already been reserved. Is it possible using jsf/myfaces?
Upvotes: 0
Views: 199
Reputation: 1549
Just Use a Ice Faces so you can directly use a ready made calendar.
< ice:selectInputDate id="fromDateId" renderMonthAsDropdown="true" renderYearAsDropdown="true" value="#{slowMovingSalesOrderAction.fromDate}" title="#{msgs['page.selectInputDate.popup.title']}" renderAsPopup="true" tabindex="1">
< f:convertDateTime pattern="#{productionRegisterAction.systemDateFormat}" timeZone="#{productionRegisterAction.timeZone}"/>
< /ice:selectInputDate>
Upvotes: 0
Reputation: 240898
You can directly use one ready made in rich faces, why to re invent wheel
Upvotes: 1