如何显示月,年使用rich:calendar? [英] How to show month, year using rich:calendar?
本文介绍了如何显示月,年使用rich:calendar?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在页面初始化期间使用rich:calendar组件显示当前的月份和年份。
I want to show the current month and year using rich:calendar component during page initialization
推荐答案
如果是您想要的,那么您可以在控制呈现后添加以下脚本
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.
这篇关于如何显示月,年使用rich:calendar?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文