2 Replies Latest reply on May 29, 2008 10:28 AM by ilya_shaikovsky

    listshuttle and calendar

    schram

      Hello everybody

      I'm new to richfaces, but I discovered a pretty strange behavior when using the rich:calendar in combination with rich:listshuttle. In the listshuttle there are two columns, one to display a name, the other contains the rich:calendar control.

      When I load the page everything is working like expected. All calendar controls pop up when I click on them.
      Now I move one ore more elements to the empty target list. When I click on the calendar of the first element in the target list, the calendar doesn't popup anymore. The problem only appears for the first element, all other elements still work fine.

      I use tomcat 6.0 and richfaces 3.2.0 SR1
      Here's the code:

      <rich:panel>
      <rich:listShuttle id="listShuttle" sourceValue="#{pollerConfigBean.forms}" targetValue="#{pollerConfigBean.lookupForms}" var="form" sourceCaptionLabel="Available Forms" targetCaptionLabel="Forms to poll" converter="form" showButtonLabels="false" fastOrderControlsVisible="false" orderControlsVisible="false" sourceListWidth="450px" targetListWidth="450px">
      <rich:column>
      <f:facet name="header"><h:outputText value="Form ID / Uses verifier"/></f:facet>
      <h:panelGrid columns="2">
      <h:outputText value="#{form.name}" />
      <h:selectBooleanCheckbox value="#{form.clearance}"
      disabled="#{pollerConfigBean.started}"/>
      </h:panelGrid>
      </rich:column>
      <rich:column>
      <f:facet name="header"><h:outputText value="Date and Time"/></f:facet>
      <rich:calendar datePattern="dd.MM.yyyy HH:mm" locale="en" value="#{form.date}" disabled="#{pollerConfigBean.started}" /> </rich:column>
      </rich:listShuttle>
      </rich:panel>

      Did anyone have a similar problem before or sees a possible solution for this?

      Thank you
      Manuel