2 Replies Latest reply on Nov 11, 2008 2:04 PM by ivans

    a4j:support and Conversation propagation

    lucianofen

      What have I do to propagate the conversation when I use the tag a4j:support? It seams that it is not automatically propagated...


      Thanks a lot
      Luciano

        • 1. Re: a4j:support and Conversation propagation
          ivans

          Has anyone else had a problem with a4j:support increasing the conversation number?


          My code looks something like:



          <a4j:outputPanel id="searchComponentRegion" styleClass="">
               #{conversation.id}
               <h:inputText
                         id="searchComponentInputTextId"
                         value="#{searchBean.searchString}">
          
                         <a4j:support id="searchComponentITextSupport"
                              action="#{searchBean['actionDoSearch']}"
                              reRender="searchComponentRegion" event="onblur"
                              focus="searchComponentSOMId">
                         </a4j:support>
               </h:inputText>
          </a4j:outputPanel>



          Each time an ajax request is sent the displayed conversation.id increases by one.


          Any ideas?


          Thanks!

          • 2. Re: a4j:support and Conversation propagation
            ivans

            Nevermind it was my own fault.


            I accidently left (and forgot about it) in pages.xml



            <begin-conversation join="true" nested="true" flush-mode="manual" />




            removing nested="true" fixed my problem.