3 Replies Latest reply on Oct 19, 2009 7:36 AM by Ilya Shaikovsky

    rich:calendar doesn't work any more with 3.3.2.SR1

    gamba Newbie

      Hi,

      I've updated to RichFaces 3.3.2.SR1 and now my calendar-component doesn't work. Only sometimes I see an javascript error. It is the same behaviour in IE and firefox.

      Fehler: invalid property id
      Quelldatei: http://localhost:8080/portal/auth/portal/default/Dig.+Personalakte/Men%C3%BCWindow?action=e&windowstate=normal&mode=view&javax.faces.portletbridge.STATE_ID=6714deb4-aad8-4813-8585-b9d66689cfb7%3Aview%3A353e3e93-3436-46f3-b196-75b436a01dcf
      Zeile: 269, Spalte: 170
      Quelltext:
      lassifyTable_1_j_id68DayCell','showWeeksBar':false,'labels':{'today':'Heute','close':'X','ok':'Ok','clean':'Leeren','apply':'Datum übernehmen','cancel':'Abbrechen'} } , {,
      


      Maybe there was an error in the code before ...

      <rich:calendar value="#{props.attributes['value'].value}"
       locale="Locale.DE" datePattern="dd.MM.yyyy"
       popup="true" showApplyButton="false" showWeeksBar="false"
       cellWidth="22px" cellHeight="20px" eventsQueue="calendarQueue"
       direction="bottom-left" jointPoint="bottom-right" required="true"
       buttonIcon="#{msg.imageCalendar}" buttonClass="myCalButton"
       inputClass="myCalInput">
      
       <f:facet name="header">
       <h:panelGrid columns="2" width="100%">
       <h:outputText value="{currentMonthControl}" />
       <h:outputText value="{todayControl}" style="text-align:right;" />
       </h:panelGrid>
       </f:facet>
      
       <f:facet name="weekDay">
       <h:panelGroup style="width:24px; overflow:hidden;" layout="block">
       <h:outputText value="{weekDayLabelShort}"/>
       </h:panelGroup>
       </f:facet>
      
       <f:facet name="footer">
       <h:panelGrid columns="4" width="100%">
       <h:outputText value="{previousMonthControl}" />
       <h:outputText value="{previousYearControl}" />
       <h:outputText value="{nextYearControl}" style="text-align:left;" />
       <h:outputText value="{nextMonthControl}" style="text-align:left;" />
       </h:panelGrid>
       </f:facet>
      </rich:calendar>
      


      Thx,
      Gamba