日期选择用richfaces的rich:calendar
<rich:calendar id="selectTime" popup="true" locale="cn" value="#{myBean.selectTime}" cellWidth="30px" cellHeight="30px" datePattern="yyyy-MM-dd HH:mm" required="true" />
<rich:calendar id="selectTime" popup="true" locale="cn" value="#{myBean.selectTime}" cellWidth="30px" cellHeight="30px" datePattern="yyyy-MM-dd HH:mm" required="true" />