1 Reply Latest reply on Apr 18, 2008 4:50 PM by Hans Schlegel

    org.jboss.seam.NoConversation onkeyup

    Gerhard Schaden Newbie

      I have a problem using ajax with seam. I use a simple searchPattern field, which calls a ajax method on onkeyup event.


      It looks like, if the user enters text faster, than the server can handle the ajax-request I get a NoConversation Exception, and the user is back at /home.


      Is there a pattern to solve this behaviour?


      -GES

        • 1. Re: org.jboss.seam.NoConversation onkeyup
          Hans Schlegel Newbie

          Increase concurrent-request-timeout


              <core:manager
                      concurrent-request-timeout="2000" 
                      conversation-timeout="1200000"
                      conversation-id-parameter="cid"/>



          and use a eventsQueue together with ignoreDupResponses



          <a4j:support event="onkeydown" eventsQueue="myAjaxQueue" ignoreDupResponses="true"