calender releated problem
ashutoshdeora Nov 9, 2009 7:34 AM
<rich:calendar id="cal" datePattern="dd/MM/yyyy" showWeeksBar="false" required="true" currentDate="#{acessCalendar.selectedDate}" isDayEnabled="callmyFunc" todayControlMode="hidden" inputStyle="width:80px" value="#{Pojo.someDate}" ondateselected="#{action.someXDate(acessCalendar.selectedDate)}" ajaxSingle="true" requiredMessage="Please Select Date"> <s:convertDateTime /> <f:facet name="header"> <h:panelGrid columns="3" width="100%"> <h:outputText value="{previousMonthControl}" style="font-weight:bold; text-align:left;" /> <h:outputText value="{currentMonthControl}" style="font-weight:bold; text-align:center" /> <h:outputText value="{nextMonthControl}" style="font-weight:bold; text-align:right" /> </h:panelGrid> </f:facet> <a4j:support event="onblur" ajaxSingle="true" eventsQueue="xyz" rendered="true"> </a4j:support> </rich:calendar>
this part of code was working fine till 3.3.1GA
the moment i shift to 3.3.2SR1
the calender have stopped working
then i did this in the code
<rich:calendar id="cal" datePattern="dd/MM/yyyy" showWeeksBar="false" required="true" currentDate="#{acessCalendar.selectedDate}" isDayEnabled="callmyFunc" todayControlMode="hidden" inputStyle="width:80px" value="#{Pojo.someDate}" ondateselected="#{action.someXDate(acessCalendar.selectedDate)}" ajaxSingle="true" requiredMessage="Please Select Date"> <s:convertDateTime /> <!--<f:facet name="header"> <h:panelGrid columns="3" width="100%"> <h:outputText value="{previousMonthControl}" style="font-weight:bold; text-align:left;" /> <h:outputText value="{currentMonthControl}" style="font-weight:bold; text-align:center" /> <h:outputText value="{nextMonthControl}" style="font-weight:bold; text-align:right" /> </h:panelGrid> </f:facet> --> <a4j:support event="onblur" ajaxSingle="true" eventsQueue="xyz" rendered="true"> </a4j:support> </rich:calendar>
i basically removed the bold part from the code
now its working fine
i want to know what went wrong
weather i was using the code in worng way or due to some modification it now does not take this part of code any more
please tell me the reason so that i can modify my code accordingly