4 Replies Latest reply on Feb 8, 2010 6:05 AM by ilya_shaikovsky

    rich:calendar and facet on 3.3.2

    cassionandi

      Hi there!

       

      I have this code running on RichFaces 3.3.1.

       

      <style type="text/css">
          .special tr[id]{
              display:none;
          }
         .width100{
            width:90px;
         }
         .width25{
            width:30px;
         }
         .talign{
            text-align:center;
         }
      </style>

       

      <rich:calendar showFooter="false"
          value="#{calendarBean.selectedDate}"
          oncurrentdateselected="event.rich.component.selectDate(event.rich.date)"
          popup="false" styleClass="special" >

       

          <f:facet name="header">
              <h:panelGrid columns="3" width="100%" columnClasses="width25 talign, width100 talign, width25 talign">
                  <h:outputText value="{previousMonthControl}" style="font-weight:bold;"/>
                  <h:outputText value="{currentMonthControl}" style="font-weight:bold;"/>
                  <h:outputText value="{nextMonthControl}" style="font-weight:bold;"/>
              </h:panelGrid>
          </f:facet>
        
      </rich:calendar>

       

      On 3.3.2 this stops to work. On testing, i seams to be related with the f:facet.

       

      thanks!