2 Replies Latest reply on May 8, 2009 9:43 AM by ilya_shaikovsky

    Using a4j:queue in custom component

      I am trying to replace the following part:

      <a4j:form>
      <a4j:queue ignoreDupResponses="true" requestDelay="200" />

      in my custom component as followed:

      public void encodeBegin(....etc.

      AjaxForm form = new AjaxForm();
      HtmlQueue queue = new HtmlQueue();
      queue.setIgnoreDupResponses(true);
      queue.setRequestDelay(200);
      form.getChildren().add(queue);

      In the form I have an ExtendedDataTable which need the queue for the filtering. If I use the xhtml part the queue works perfectly but when I use the custom componennt it seems the queue isn't used because I get the concurrent call to conversation error. Must I implement the queue differently?