2 Replies Latest reply on Aug 1, 2007 8:31 AM by holgerprause

    a4j:include and limitToList Problem

      Hello,

      when a page included by a4j:include
      itsself has a4j:support tag in it and if this tag have the "limitToList" property
      the ajax request wil be send but the reRender dont work.

      Wen i dont specify limitToList the whole content is reRendered(what i dont want)

      main page

       <a4j:outputPanel id="mainPanel">
       <a4j:include id="mainInclude" viewId="/mainPanel.xhtml"/>
       </a4j:outputPanel>
      


      included page
      
       <h:form>
       <h:inputText value="#{myTrades.searchTradeFilter.searchTerm}">
       <a4j:support event="onkeyup"
       eventsQueue="searchTermQueue"
       requestDelay="300"
       actionListener="#{myTrades.criteriaChanged}"
       reRender="myTradesPanel"
       limitToList="true" />
       </h:inputText>
       </h:form>
      
      
       <a4j:outputPanel id="myTradesPanel">
       ...
       </a4j:outputPane>
      







        • 1. Re: a4j:include and limitToList Problem

          DO you use facelets? If so, try to provide the id for a4j:support explicitly.
          In general, it should work like you expect. Add a4j:log on the page and see what the log says about updating.

          • 2. Re: a4j:include and limitToList Problem

            Hello , yes i am using facelets, i also provided an explicit id to the a4j:support as you suggested, it still dont works.

             <h:form>
             <h:inputText value="#{myTrades.searchTradeFilter.searchTerm}">
             <a4j:support id="searchTermSupport"
             event="onkeyup"
             eventsQueue="searchTermQueue"
             requestDelay="300"
             actionListener="#{myTrades.criteriaChanged}"
             reRender="myTradesPanel"
             limitToList="true" />
             </h:inputText>
             </h:form>
            
            



            The error i get from a4j:log :

            "error[14:20:11,718]: New node for ID myTradesPanel is not present in response"

            I hope i can get this work, reRender only a part is really essential me.