0 Replies Latest reply on May 29, 2008 3:56 AM by Rafael Jimenez

    a4j:support rich:calendar rich:datatable error after rerrend

    Rafael Jimenez Newbie

      I'm using rich:calendar and a4j:support components to filter values from datatable column. It works fine on firts call (rich:datatable is rendered and data from column are filtered) but after rerenderig it doesn't show rich:calendar again...
      This is my code:

      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich">
      <ui:define name="body">
      <a4j:form>

      <rich:dataTable
      width="700" border="0" var="org" value="#{LableBean.datamodel}" id="labelList">

      <f:facet name="header">
      <rich:columnGroup>
      <rich:column >
      Column1
      </rich:column>
      ..........
      </rich:columnGroup>
      </f:facet>

      <rich:column >
      <f:facet name="header">
      <rich:calendar value="#{LableBean.DateFilter}" id="calendarId" >
      <a4j:support event="onchanged" rerender="labelList" actionListener="#{LableBean.filterAction}" ignoredumpresponse="true" >
      <f:param name="filterfolder" value="date"/>
      </a4j:support>
      </rich:calendar>
      </f:facet>

      <f:outputText value="#{org.date}"/>
      </rich:column>
      .............
      </rich:dataTable>
      </a4j:form>
      </ui:define>
      </ui:composition>

      I don't know if I'm doing something wrong or it is a richfaces bug.
      Anyone knows it?