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

    calendar conflict with scrollableDataTable

    ptr83

      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 :

      [img]ttp://img136.imageshack.us/img136/8559/isitstatisticfacesrp0.jpg[/img]

      My code for the date field :

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


      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}"/>
       </f:facet>
       <h:outputText value="#{popcase.machin}">
       </h:outputText>
       </rich:column>
       <rich:column id="popcolumn2">
       <f:facet name="header">
       <h:outputText id="popheaderText2" styleClass="headerText" value="#{msg.Truc}"/>
       </f:facet>
       <h:outputText value="#{popcase.truc}">
       </h:outputText>
       </rich:column>
       </rich:scrollableDataTable>


      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.