goofie
goofie

Reputation: 1

How to create calendar with specified periods in jsf/myfaces? is it possible?

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

Answers (2)

Jimit Tank
Jimit Tank

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

Related Questions