How to show month, year using rich:calendar?

你说的曾经没有我的故事 提交于 2020-01-05 07:45:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!