1 Reply Latest reply on Jun 9, 2016 3:07 PM by Sudha Raj

    How to increase the size of rich:calendar

    Sudha Raj Newbie

      I would like to increase the size of the rich:calendar. Not sure which style attribute is supporting that.

       

      I am using richfaces 4.5.15.Final version. This is not pop up calendar. Code for the rich:calendar,

       

      <a4j:jsFunction name="ajaxSubmit" oncomplete="#{rich:component('panel')}.show()" render="editContent" />

      <rich:calendar value="#{calendarBean.selectedDate}" rendered="#{not empty calendarBean.selectedCalendarKey}"

        popup="false" style="width:200px" showWeeksBar="false" id="organizer" mode="ajax"

        onchange="if (event.rich.date) {ajaxSubmit();}" valueChangeListener="#{calendarBean.valueChanged}"

        dataModel="#{ calendarBean}" showHeader="true">

        <a4j:outputPanel layout="block" id="cell" onclick="#{rich:component('organizer')}.resetSelectedDate()" style="height: 100%;" styleClass="organizer-cell">

        <div>

        <h:outputText value="#{day}" style="align:center"/>

        </div> <div>&#xA0;</div> <div>

        <h:outputText value="#{data.description.escapeHTML()}"/> </div>

        </a4j:outputPanel>

        </rich:calendar>

       

      The above code is working fine in richface 3.x and show the bigger size calendar.

       

      Current rich:calender, (rich faces 4)

       

      Expected rich:calendar (rich faces 3.x)

      Please provide your suggestion to help to fix the issue.

       

      Thanks,

      Sudha