[英]How to create calendar with specified periods in jsf/myfaces? is it possible?
我正在准备一个应用程序,用户可以在该应用程序中预定房间。 我想向用户显示一个日历,他可以在其中选择预定的开始日期和结束日期,但是我也想标记已经预定房间的日期。 是否可以使用jsf / myfaces?
只要使用Ice Faces,您就可以直接使用现成的日历。
<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>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.