开发者

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

I`m pr开发者_运维问答eparing 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?


You can directly use one ready made in rich faces, why to re invent wheel


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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜