If you are talking about to change the calendar date and months dynamically, how about calling the getters/setters of rich calendar component bean.
Thanks for your reply. I am trying to do something like this and call the following method code in valueChangeListener of the calendar component but with no success.
FacesContext facesContext = FacesContext.getCurrentInstance();
UIViewRoot uiViewRoot = facesContext.getViewRoot();
HtmlCalendar sdlFromDate = (HtmlCalendar)uiViewRoot.findComponent("oncallSchedule:txtFromDate");
HtmlCalendar sdlToDate = (HtmlCalendar)uiViewRoot.findComponent("oncallSchedule:txtToDate");
Could you please eloborate your suggestion and post any sample code if possible?.
There is currentDate attribute that indicates month currently selected, you can change it. BTW, are you re-rendering calendar after attributes changes?