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

    listshuttle and calendar

    Manuel Schrag Newbie

      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: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">
      <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}"
      <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>

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

      Thank you