问题
I want to show the current month and year using rich:calendar component during page initialization
回答1:
I guess you want the calendar control expanded displaying current month and year.
If it is what you want then you can add the following script after control rendering
#{rich:component('myCalId')}.doExpand();
You can use different such component function of richfaces in that fashion defined here.
来源:https://stackoverflow.com/questions/4613037/how-to-show-month-year-using-richcalendar