1 Reply Latest reply on Nov 11, 2008 5:29 AM by Ilya Shaikovsky

    calendar conflict with scrollableDataTable

    Ker P Newbie

      Hi to all.

      I am quite new to JSF and RichFaces, and I am facing a problem that I can not solve by myself. Thanks for your help.

      I try to display a richfaces calendar field (popup = true) at the top of a scrollableDataTable.

      When I open the calendar, it works fine until the scrollableDataTable is not at the bottom. When the scrollableDataTable is at the bottom of the calendar, the calendar is not working anymore, I can not click on it. And the titles of the scrollableDataTable are displayed on the top of the calendar...

      It's perhaps easier to see it on a screenshot :


      My code for the date field :

      <a4j:outputPanel id="calendarTo" layout="block">
       <rich:calendar value="#{VisitStatisticBean.dateTo}"
       showApplyButton="true" cellWidth="24px" cellHeight="22px" style="width:200px"/>

      And the code for the scrollableDataTable :

      <rich:scrollableDataTable rowKeyVar="rkv2" frozenColCount="1" sortMode="single" height="300px" width="100%"
       id="visistStatisticList" columnClasses="columnClass2,,,columnClass2" value="#{VisitStatisticBean.list}" var="popcase">
       <rich:column id="popcolumn1">
       <f:facet name="header">
       <h:outputText id="popheaderText1" styleClass="headerText" value="#{msg.VisitStatistic_Machin}"/>
       <h:outputText value="#{popcase.machin}">
       <rich:column id="popcolumn2">
       <f:facet name="header">
       <h:outputText id="popheaderText2" styleClass="headerText" value="#{msg.Truc}"/>
       <h:outputText value="#{popcase.truc}">

      I have tried with a dataTable and I have not the same problem but I would like to use the scrollableDataTable so if you could help me...

      Thanks for your help.