1 Reply Latest reply on Mar 3, 2008 12:27 PM by Kerdudou Ronan

    multiple popup calendars visible (strange)

    Kerdudou Ronan Apprentice

      strange behaviour of rich:calendar...

      with the folowing code

      <h:dataTable var="object" ...>
       ...
       <h:column>
       <rich:calendar id="date_1"
       buttonIcon="/images/ico_calendrier.gif"
       value="#{object.date1}"
       locale="#{contexte.locale}"
       popup="true"
       styleClass="calendar"
       datePattern="#{contexte.formatDate}"
       enableManualInput="true"
       mode="client"
       inputClass="input colonne_date">
       </rich:calendar>
       <h:message errorClass="erreur" for="date_1"/>
       </h:column>
       <h:column>
       <rich:calendar id="date_2"
       buttonIcon="/images/ico_calendrier.gif"
       value="#{object.date2}"
       locale="#{contexte.locale}"
       popup="true"
       styleClass="calendar"
       datePattern="#{contexte.formatDate}"
       enableManualInput="true"
       mode="client"
       inputClass="input colonne_date">
       </rich:calendar>
       <h:message errorClass="erreur" for="date_2"/>
       </h:column>
      </h:dataTable>

      i've got a lon list of items...

      if i click on the first icon of calendar, it shows, the i click on the next visible icon of the same column, and a second calendar shows, i can use both simultaneously. and can show up to 5 calendars this way... on the 6th the first disapear...

      but if i start from the botom to top, i can show only one calendar. and if i change column, only one calendar shows...

      someone should investigate the issue. this must be a very little thing... but also it's very minor bug...

      I think the normal behaviour should be to show only one calendar at a time.