How to show month, year using rich:calendar?
I want to show开发者_运维知识库 the current month and year using rich:calendar component during page initialization
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.
精彩评论