2011-07-21 103 views
0

我正在使用Richfaces4.0;只需顯示月份和年份的選擇;用戶選擇它。RichFaces日曆:僅顯示月份和年份

<rich:calendar id="start" value="#{reportBean.fromDate}" oncurrentdateselect="alert('Hello');" popup="false" showWeekDaysBar="false" showFooter="false" styleClass="special"></rich:calendar> 
使用

腳本如下,隱藏日期格:

.special tr[id] { 
    display:none; 
} 

我下面的例子在論壇上,但所選月/年未反映在reportBean.fromDate :http://relation.to/12480.lace;我看到它不支持oncurrentdateselected屬性。

我相信錯過了重要的一步,請幫助。

由於

回答

0

值屬性被刪除和添加的currentdate:

相關問題