1 Reply Latest reply on Apr 4, 2012 10:45 AM by Liz Glasser

    Rich Calendar Header (RF 4)

    Liz Glasser Newbie

      I am trying to migrate code I had used previously in RF 3 into RF4. I had overwitted the rich:calendar header facet, but in RF 4 it appears that facet is being ignored. How do I change the header in RF 4?

       

      Thank you

        • 1. Re: Rich Calendar Header (RF 4)
          Liz Glasser Newbie

          Can anyone help? This is what the code looks like:

           

          <rich:calendar ajaxSingle="true" popup="false" cellWidth="20px" cellHeight="40px" todayControlMode="hidden"

                  dataModel="#{monthModel}"

                  currentDate="#{monthModel.currentDate}"

                  showWeeksBar="false"

                  showFooter="false"

                  value="#{monthModel.selectedDate}">

                  <f:facet name="header" >

                      <div style="text-align:center;">

                          <h:outputText value="#{monthModel.currentDate}" style="font-weight:bold;">

                              <f:convertDateTime pattern="MMM yyyy"/>

                          </h:outputText>

                      </div>

                  </f:facet>

                 

              </rich:calendar>

           

          Basically I want to show only the Month and Year in the header. I do not want any controls in the header.

           

          This worked in 3.3.x but in 4.2.0Final the header appears to be ignored.