3 Replies Latest reply on Jan 23, 2008 5:16 PM by thieumdesp

    SuggestionBox : strange issue when upgrading

    thieumdesp

      Hello,

      AppServer : tomcat 6 or jboss 4.0.5 (i try both)
      Client : Firefox 2.0.0.11 or iE7.0.6000.16575

      I implement a suggestion box which works fine with richFaces 3.1.2GA. it appears when i write 2 letters

      I have strange behavior when i upgrade richFaces :
      TO 3.1.3GA :
      the ajax request is sent (i see it with firebug) but nothing appears
      TO 3.1.4 (nightly build 20080118) :
      same behaviour
      TO 3.2.0 (nightly build 20080117) :
      the first time i enter something, nothing appears (but the request is sent)
      the next times i enter something (with data i expect), it appears

      The only things i change between those different tests is the jars :
      richfaces-api-[VERSION].jar
      richfaces-impl-[VERSION].jar
      richfaces-ui-[VERSION].jar

      I use facelet
      It's very strange to see that the behavior is so different only on changing version.

        • 1. Re: SuggestionBox : strange issue when upgrading
          ilya_shaikovsky

          Are you sure that this isn't a problem of cached scripts while chnaging versions?

          We have SB woring under all versions of our demosite as you can see :)

          So please add more details.. JSF versions, codfe snippets, a4j:log errors etc..

          Or you may freely open jira issue with your sample war (with libs) attached.

          • 2. Re: SuggestionBox : strange issue when upgrading
            thieumdesp

             

            "ilya_shaikovsky" wrote:
            Are you sure that this isn't a problem of cached scripts while chnaging versions?

            yes, i clean work folder of tomcat, and all i can in firefox

            Here are the details of my webapp :
            JSF 1.2, facelet 1.1.12
            Hibernate 3.2.5GA
            Spring 2.5

            a4j:log with richfaces 3.1.2SP1 : the suggestionbox works fine
            debug[22:57:33,557]: set timeout for request suggestion
            debug[22:57:33,569]: Observer event occurs
            debug[22:57:36,086]: set timeout for request suggestion
            debug[22:57:36,116]: Observer event occurs
            debug[22:57:36,120]: Call data for update choices
            debug[22:57:36,122]: Have Event [object Object] with properties: target: [object HTMLInputElement], srcElement: undefined, type: keypress
            debug[22:57:36,124]: NEW AJAX REQUEST !!! with form :j_id52
            debug[22:57:36,128]: Append hidden control j_id52 with value [j_id52] and value attribute [j_id52]
            debug[22:57:36,130]: Append text control j_id52:itLogin with value [] and value attribute [null]
            debug[22:57:36,132]: Append text control j_id52:itNom with value [] and value attribute [null]
            debug[22:57:36,133]: Append text control j_id52:itPrenom with value [] and value attribute [null]
            debug[22:57:36,136]: Append select-one control j_id52:itProfil with value [0] and value attribute [null]
            debug[22:57:36,138]: Append text control j_id52:itTestSuggestionBox with value [FR] and value attribute [null]
            debug[22:57:36,140]: Append hidden control javax.faces.ViewState with value [_id6] and value attribute [_id6]
            debug[22:57:36,142]: parameter j_id52:j_id78 with value j_id52:j_id78
            debug[22:57:36,143]: parameter inputvalue with value FR
            debug[22:57:36,240]: Start XmlHttpRequest
            debug[22:57:36,241]: Reqest state : 1
            debug[22:57:36,242]: QueryString: AJAXREQUEST=_viewRoot&j_id52=j_id52&j_id52%3AitLogin=&j_id52%3AitNom=&j_id52%3AitPrenom=&j_id52%3AitProfil=0&j_id52%3AitTestSuggestionBox=FR&javax.faces.ViewState=_id6&j_id52%3Aj_id78=j_id52%3Aj_id78&inputvalue=FR&
            debug[22:57:36,246]: Reqest state : 1
            debug[22:57:36,769]: Reqest state : 2
            debug[22:57:36,771]: Reqest state : 3
            debug[22:57:36,772]: Reqest state : 4
            debug[22:57:36,772]: Reqest end with state 4
            debug[22:57:36,773]: Response with content-type: text/xml;charset=UTF-8
            debug[22:57:36,773]: Full response content: <?xml version="1.0"?>
            
            <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_2.GAcss/toggleControl.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_2.GAcss/toolBar.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_2.GAcss/menucomponents.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_2.GAcss/dropdownmenu.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_2.GAcss/spacer.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/css/suggestionbox.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg.ajax4jsf.javascript.PrototypeScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg.ajax4jsf.javascript.AjaxScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAscripts/togglePanel.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/utils.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg/ajax4jsf/javascript/scripts/form.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/form.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAscripts/menu.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/modalPanel.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/modalPanelBorders.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/browser_info.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAscripts/scriptaculous/effects.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/script/processEffect.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg.ajax4jsf.javascript.SmartPositionScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/scriptaculo.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/suggestionbox.js.jsf">
            
            </script></head><body><table border="0" cellpadding="0" cellspacing="0" class="dr-sb-int-decor-table rich-sb-int-decor-table " width="100%" id="j_id52:j_id78:suggest"><colgroup span="1"></colgroup><tbody><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">SERGEANT</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">SERGEANT</td></tr><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">TITIDOUDOUNE</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">TITIDOUDOUNE</td></tr><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">SUPER</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">SUPER</td></tr></tbody></table><meta name="Ajax-Update-Ids" content="j_id52:j_id78:suggest" /><span id="ajax-view-state"><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="_id6" /></span><meta id="Ajax-Response" name="Ajax-Response" content="true" /><!-- MYFACES JAVASCRIPT -->
            
            </body></html>
            debug[22:57:36,774]: Header Ajax-Expired not found, search in <meta>
            debug[22:57:36,774]: search for elements by name 'meta' in element #document
            debug[22:57:36,779]: getElementsByTagName found 2
            debug[22:57:36,780]: Find <meta name='Ajax-Update-Ids' content='j_id52:j_id78:suggest'>
            debug[22:57:36,780]: Find <meta name='Ajax-Response' content='true'>
            debug[22:57:36,781]: Header Ajax-Update-Ids not found, search in <meta>
            debug[22:57:36,781]: search for elements by name 'meta' in element #document
            debug[22:57:36,785]: getElementsByTagName found 2
            debug[22:57:36,786]: Find <meta name='Ajax-Update-Ids' content='j_id52:j_id78:suggest'>
            debug[22:57:36,786]: Update page by list of rendered areas from response j_id52:j_id78:suggest
            debug[22:57:36,787]: search for elements by name 'script' in element #document
            debug[22:57:36,793]: getElementsByTagName found 15
            debug[22:57:36,794]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg.ajax4jsf.javascript.PrototypeScript.jsf
            debug[22:57:36,795]: Such element exist in document
            debug[22:57:36,796]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg.ajax4jsf.javascript.AjaxScript.jsf
            debug[22:57:36,796]: Such element exist in document
            debug[22:57:36,797]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAscripts/togglePanel.js.jsf
            debug[22:57:36,797]: Such element exist in document
            debug[22:57:36,798]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/utils.js.jsf
            debug[22:57:36,798]: Such element exist in document
            debug[22:57:36,799]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg/ajax4jsf/javascript/scripts/form.js.jsf
            debug[22:57:36,799]: Such element exist in document
            debug[22:57:36,800]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/form.js.jsf
            debug[22:57:36,800]: Such element exist in document
            debug[22:57:36,801]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAscripts/menu.js.jsf
            debug[22:57:36,802]: Such element exist in document
            debug[22:57:36,802]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/modalPanel.js.jsf
            debug[22:57:36,803]: Such element exist in document
            debug[22:57:36,803]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/modalPanelBorders.js.jsf
            debug[22:57:36,804]: Such element exist in document
            debug[22:57:36,804]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/browser_info.js.jsf
            debug[22:57:36,806]: Such element exist in document
            debug[22:57:36,806]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAscripts/scriptaculous/effects.js.jsf
            debug[22:57:36,807]: Such element exist in document
            debug[22:57:36,808]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/script/processEffect.js.jsf
            debug[22:57:36,809]: Such element exist in document
            debug[22:57:36,810]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg.ajax4jsf.javascript.SmartPositionScript.jsf
            debug[22:57:36,811]: Such element exist in document
            debug[22:57:36,811]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/scriptaculo.js.jsf
            debug[22:57:36,812]: Such element exist in document
            debug[22:57:36,813]: <script> in response with src=/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/scripts/suggestionbox.js.jsf
            debug[22:57:36,814]: Such element exist in document
            debug[22:57:36,814]: search for elements by name 'link' in element #document
            debug[22:57:36,821]: getElementsByTagName found 7
            debug[22:57:36,822]: <link> in response with src=/projetBlanc/a4j_3_1_2.GAcss/toggleControl.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[22:57:36,822]: Such element exist in document
            debug[22:57:36,823]: <link> in response with src=/projetBlanc/a4j_3_1_2.GAcss/toolBar.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[22:57:36,824]: Such element exist in document
            debug[22:57:36,825]: <link> in response with src=/projetBlanc/a4j_3_1_2.GAcss/menucomponents.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[22:57:36,825]: Such element exist in document
            debug[22:57:36,827]: <link> in response with src=/projetBlanc/a4j_3_1_2.GAcss/dropdownmenu.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[22:57:36,828]: Such element exist in document
            debug[22:57:36,829]: <link> in response with src=/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[22:57:36,830]: Such element exist in document
            debug[22:57:36,831]: <link> in response with src=/projetBlanc/a4j_3_1_2.GAcss/spacer.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[22:57:36,832]: Such element exist in document
            debug[22:57:36,832]: <link> in response with src=/projetBlanc/a4j_3_1_2.GAorg/richfaces/renderkit/html/css/suggestionbox.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[22:57:36,833]: Such element exist in document
            debug[22:57:36,834]: Attempt to update part of page for Id: j_id52:j_id78:suggest
            debug[22:57:36,834]: call getElementById for id= j_id52:j_id78:suggest
            debug[22:57:36,835]: Replace content of node by replaceChild()
            debug[22:57:36,836]: search for elements by name 'script' in element table
            debug[22:57:36,843]: getElementsByTagName found 0
            debug[22:57:36,844]: Scripts in updated part count : 0
            debug[22:57:36,844]: Update part of page for Id: j_id52:j_id78:suggest successful
            debug[22:57:36,845]: call getElementById for id= ajax-view-state
            debug[22:57:36,845]: Hidden JSF state fields: [object HTMLSpanElement]
            debug[22:57:36,846]: Namespace for hidden view-state input fields is undefined
            debug[22:57:36,847]: search for elements by name 'input' in element span
            debug[22:57:36,851]: getElementsByTagName found 1
            debug[22:57:36,852]: Replace value for inputs: 12 by new values: 1
            debug[22:57:36,853]: Input in response: javax.faces.ViewState
            debug[22:57:36,854]: Found same input on page with type: hidden
            debug[22:57:36,854]: Found same input on page with type: hidden
            debug[22:57:36,855]: search for elements by name 'INPUT' in element span
            debug[22:57:36,859]: getElementsByTagName found 0
            debug[22:57:36,860]: Replace value for inputs: 12 by new values: 0
            debug[22:57:36,861]: call getElementById for id= _ajax:data
            debug[22:57:36,861]: call getElementById for id= _A4J.AJAX.focus
            debug[22:57:36,862]: No focus information in response
            debug[22:57:36,862]: call getElementById for id= org.ajax4jsf.oncomplete
            debug[22:57:36,863]: Call component oncomplete function after processing updates
            debug[22:57:36,908]: call getElementById for id= _ajax:data
            debug[22:57:36,908]: AJAX response complete - updateChoices
            debug[22:57:36,913]: render for index 0 and old index -1
            debug[22:57:36,921]: Choices updated
            


            a4j:log with richfaces 3.1.2SP1 : the suggestionbox never works
            debug[23:05:06,725]: set timeout for request suggestion
            debug[23:05:06,753]: Observer event occurs
            debug[23:05:07,963]: set timeout for request suggestion
            debug[23:05:07,997]: Observer event occurs
            debug[23:05:08,000]: Call data for update choices
            debug[23:05:08,003]: Have Event [object Object] with properties: target: [object HTMLInputElement], srcElement: undefined, type: keypress
            debug[23:05:08,005]: NEW AJAX REQUEST !!! with form :j_id52
            debug[23:05:08,008]: Append hidden control j_id52 with value [j_id52] and value attribute [j_id52]
            debug[23:05:08,009]: Append text control j_id52:itLogin with value [] and value attribute [null]
            debug[23:05:08,012]: Append text control j_id52:itNom with value [] and value attribute [null]
            debug[23:05:08,014]: Append text control j_id52:itPrenom with value [] and value attribute [null]
            debug[23:05:08,016]: Append select-one control j_id52:itProfil with value [0] and value attribute [null]
            debug[23:05:08,019]: Append text control j_id52:itTestSuggestionBox with value [FR] and value attribute [null]
            debug[23:05:08,021]: Append hidden control j_id52:j_id78_selection with value [] and value attribute [null]
            debug[23:05:08,023]: Append hidden control javax.faces.ViewState with value [_id4] and value attribute [_id4]
            debug[23:05:08,025]: parameter j_id52:j_id78 with value j_id52:j_id78
            debug[23:05:08,026]: parameter inputvalue with value FR
            debug[23:05:08,151]: Start XmlHttpRequest
            debug[23:05:08,155]: Reqest state : 1
            debug[23:05:08,156]: QueryString: AJAXREQUEST=_viewRoot&j_id52=j_id52&j_id52%3AitLogin=&j_id52%3AitNom=&j_id52%3AitPrenom=&j_id52%3AitProfil=0&j_id52%3AitTestSuggestionBox=FR&j_id52%3Aj_id78_selection=&javax.faces.ViewState=_id4&j_id52%3Aj_id78=j_id52%3Aj_id78&inputvalue=FR&
            debug[23:05:08,161]: Reqest state : 1
            debug[23:05:08,639]: Reqest state : 2
            debug[23:05:08,642]: Reqest state : 3
            debug[23:05:08,642]: Reqest state : 4
            debug[23:05:08,643]: Reqest end with state 4
            debug[23:05:08,644]: Response with content-type: text/xml;charset=UTF-8
            debug[23:05:08,645]: Full response content: <?xml version="1.0"?>
            
            <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_3.GAcss/toggleControl.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_3.GAcss/toolBar.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_3.GAcss/menucomponents.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_3.GAcss/dropdownmenu.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/css/suggestionbox.xcss/DATB/eAFTuLhjGwAFHQJg.jsf" /><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg.ajax4jsf.javascript.PrototypeScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg.ajax4jsf.javascript.AjaxScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAscripts/togglePanel.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/utils.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg/ajax4jsf/javascript/scripts/form.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/form.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAscripts/menu.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/modalPanel.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/modalPanelBorders.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/browser_info.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAscripts/scriptaculous/effects.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/script/processEffect.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg.ajax4jsf.javascript.SmartPositionScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/scriptaculo.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/suggestionbox.js.jsf">
            
            </script></head><body><table border="0" cellpadding="0" cellspacing="0" class="dr-sb-int-decor-table rich-sb-int-decor-table " width="100%" id="j_id52:j_id78:suggest"><colgroup span="1"></colgroup><tbody><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">SERGEANT</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">SERGEANT</td></tr><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">TITIDOUDOUNE</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">TITIDOUDOUNE</td></tr><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">SUPER</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">SUPER</td></tr></tbody></table><meta name="Ajax-Update-Ids" content="j_id52:j_id78:suggest" /><span id="ajax-view-state"><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="_id4" /></span><meta id="Ajax-Response" name="Ajax-Response" content="true" /><!-- MYFACES JAVASCRIPT -->
            
            </body></html>
            debug[23:05:08,646]: Header Ajax-Expired not found, search in <meta>
            debug[23:05:08,646]: search for elements by name 'meta' in element #document
            debug[23:05:08,651]: getElementsByTagName found 2
            debug[23:05:08,652]: Find <meta name='Ajax-Update-Ids' content='j_id52:j_id78:suggest'>
            debug[23:05:08,653]: Find <meta name='Ajax-Response' content='true'>
            debug[23:05:08,653]: Header Ajax-Update-Ids not found, search in <meta>
            debug[23:05:08,654]: search for elements by name 'meta' in element #document
            debug[23:05:08,659]: getElementsByTagName found 2
            debug[23:05:08,660]: Find <meta name='Ajax-Update-Ids' content='j_id52:j_id78:suggest'>
            debug[23:05:08,661]: Update page by list of rendered areas from response j_id52:j_id78:suggest
            debug[23:05:08,661]: search for elements by name 'script' in element #document
            debug[23:05:08,666]: getElementsByTagName found 15
            debug[23:05:08,667]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg.ajax4jsf.javascript.PrototypeScript.jsf
            debug[23:05:08,668]: Such element exist in document
            debug[23:05:08,669]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg.ajax4jsf.javascript.AjaxScript.jsf
            debug[23:05:08,670]: Such element exist in document
            debug[23:05:08,670]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAscripts/togglePanel.js.jsf
            debug[23:05:08,671]: Such element exist in document
            debug[23:05:08,672]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/utils.js.jsf
            debug[23:05:08,673]: Such element exist in document
            debug[23:05:08,673]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg/ajax4jsf/javascript/scripts/form.js.jsf
            debug[23:05:08,674]: Such element exist in document
            debug[23:05:08,675]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/form.js.jsf
            debug[23:05:08,675]: Such element exist in document
            debug[23:05:08,676]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAscripts/menu.js.jsf
            debug[23:05:08,677]: Such element exist in document
            debug[23:05:08,677]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/modalPanel.js.jsf
            debug[23:05:08,678]: Such element exist in document
            debug[23:05:08,679]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/modalPanelBorders.js.jsf
            debug[23:05:08,680]: Such element exist in document
            debug[23:05:08,680]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/browser_info.js.jsf
            debug[23:05:08,681]: Such element exist in document
            debug[23:05:08,682]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAscripts/scriptaculous/effects.js.jsf
            debug[23:05:08,683]: Such element exist in document
            debug[23:05:08,684]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/script/processEffect.js.jsf
            debug[23:05:08,685]: Such element exist in document
            debug[23:05:08,685]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg.ajax4jsf.javascript.SmartPositionScript.jsf
            debug[23:05:08,686]: Such element exist in document
            debug[23:05:08,686]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/scriptaculo.js.jsf
            debug[23:05:08,687]: Such element exist in document
            debug[23:05:08,688]: <script> in response with src=/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/scripts/suggestionbox.js.jsf
            debug[23:05:08,688]: Such element exist in document
            debug[23:05:08,689]: search for elements by name 'link' in element #document
            debug[23:05:08,695]: getElementsByTagName found 6
            debug[23:05:08,695]: <link> in response with src=/projetBlanc/a4j_3_1_3.GAcss/toggleControl.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[23:05:08,696]: Such element exist in document
            debug[23:05:08,697]: <link> in response with src=/projetBlanc/a4j_3_1_3.GAcss/toolBar.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[23:05:08,697]: Such element exist in document
            debug[23:05:08,698]: <link> in response with src=/projetBlanc/a4j_3_1_3.GAcss/menucomponents.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[23:05:08,698]: Such element exist in document
            debug[23:05:08,699]: <link> in response with src=/projetBlanc/a4j_3_1_3.GAcss/dropdownmenu.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[23:05:08,699]: Such element exist in document
            debug[23:05:08,700]: <link> in response with src=/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[23:05:08,700]: Such element exist in document
            debug[23:05:08,702]: <link> in response with src=/projetBlanc/a4j_3_1_3.GAorg/richfaces/renderkit/html/css/suggestionbox.xcss/DATB/eAFTuLhjGwAFHQJg.jsf
            debug[23:05:08,702]: Such element exist in document
            debug[23:05:08,703]: Attempt to update part of page for Id: j_id52:j_id78:suggest
            debug[23:05:08,704]: call getElementById for id= j_id52:j_id78:suggest
            debug[23:05:08,705]: Replace content of node by replaceChild()
            debug[23:05:08,706]: search for elements by name 'script' in element table
            debug[23:05:08,712]: getElementsByTagName found 0
            debug[23:05:08,712]: Scripts in updated part count : 0
            debug[23:05:08,713]: Update part of page for Id: j_id52:j_id78:suggest successful
            debug[23:05:08,714]: call getElementById for id= ajax-view-state
            debug[23:05:08,714]: Hidden JSF state fields: [object HTMLSpanElement]
            debug[23:05:08,715]: Namespace for hidden view-state input fields is undefined
            debug[23:05:08,715]: search for elements by name 'input' in element span
            debug[23:05:08,720]: getElementsByTagName found 1
            debug[23:05:08,721]: Replace value for inputs: 13 by new values: 1
            debug[23:05:08,722]: Input in response: javax.faces.ViewState
            debug[23:05:08,723]: Found same input on page with type: hidden
            debug[23:05:08,724]: Found same input on page with type: hidden
            debug[23:05:08,724]: search for elements by name 'INPUT' in element span
            debug[23:05:08,729]: getElementsByTagName found 0
            debug[23:05:08,729]: Replace value for inputs: 13 by new values: 0
            debug[23:05:08,730]: call getElementById for id= _ajax:data
            debug[23:05:08,731]: call getElementById for id= _A4J.AJAX.focus
            debug[23:05:08,732]: No focus information in response
            debug[23:05:08,732]: call getElementById for id= org.ajax4jsf.oncomplete
            debug[23:05:08,733]: Call component oncomplete function after processing updates
            debug[23:05:08,789]: call getElementById for id= _ajax:data
            debug[23:05:08,789]: AJAX response complete - updateChoices
            debug[23:05:08,796]: render for index 0 and old index -1
            debug[23:05:08,799]: Choices updated
            


            a4j:log with richfaces 3.1.2SP1 : the suggestionbox does work except the first time
            First time :
            debug[23:06:57,995]: set timeout for request suggestion
            debug[23:06:58,009]: Observer event occurs
            debug[23:06:58,549]: set timeout for request suggestion
            debug[23:06:58,560]: Observer event occurs
            debug[23:06:58,573]: set timeout for request suggestion
            debug[23:06:58,602]: Observer event occurs
            debug[23:07:01,491]: set timeout for request suggestion
            debug[23:07:01,517]: Observer event occurs
            debug[23:07:01,520]: Call data for update choices
            debug[23:07:01,523]: Have Event [object Object] with properties: target: [object HTMLInputElement], srcElement: undefined, type: keydown
            debug[23:07:01,524]: NEW AJAX REQUEST !!! with form :j_id52
            debug[23:07:01,528]: Append hidden control j_id52 with value [j_id52] and value attribute [j_id52]
            debug[23:07:01,531]: Append text control j_id52:itLogin with value [] and value attribute [null]
            debug[23:07:01,533]: Append text control j_id52:itNom with value [] and value attribute [null]
            debug[23:07:01,535]: Append text control j_id52:itPrenom with value [] and value attribute [null]
            debug[23:07:01,537]: Append select-one control j_id52:itProfil with value [0] and value attribute [null]
            debug[23:07:01,539]: Append text control j_id52:itTestSuggestionBox with value [FR] and value attribute [null]
            debug[23:07:01,541]: Append hidden control j_id52:j_id78_selection with value [] and value attribute [null]
            debug[23:07:01,544]: Append hidden control javax.faces.ViewState with value [j_id4] and value attribute [j_id4]
            debug[23:07:01,546]: parameter j_id52:j_id78 with value j_id52:j_id78
            debug[23:07:01,547]: parameter inputvalue with value FR
            debug[23:07:01,676]: Start XmlHttpRequest
            debug[23:07:01,678]: Reqest state : 1
            debug[23:07:01,679]: QueryString: AJAXREQUEST=_viewRoot&j_id52=j_id52&j_id52%3AitLogin=&j_id52%3AitNom=&j_id52%3AitPrenom=&j_id52%3AitProfil=0&j_id52%3AitTestSuggestionBox=FR&j_id52%3Aj_id78_selection=&javax.faces.ViewState=j_id4&j_id52%3Aj_id78=j_id52%3Aj_id78&inputvalue=FR&
            debug[23:07:01,684]: Reqest state : 1
            debug[23:07:02,202]: Reqest state : 2
            debug[23:07:02,205]: Reqest state : 3
            debug[23:07:02,205]: Reqest state : 3
            debug[23:07:02,206]: Reqest state : 4
            debug[23:07:02,207]: Reqest end with state 4
            debug[23:07:02,207]: Response with content-type: text/xml;charset=UTF-8
            debug[23:07:02,208]: Full response content: <?xml version="1.0"?>
            
            <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTcss/toggleControl.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTcss/toolBar.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTcss/menucomponents.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTcss/dropdownmenu.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/css/suggestionbox.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.PrototypeScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/togglePanel.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/utils.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/ajax4jsf/javascript/scripts/form.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/form.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/menu.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/browser_info.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/modalPanel.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/modalPanelBorders.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/scriptaculous/effects.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/script/processEffect.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.SmartPositionScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/scriptaculo.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/suggestionbox.js.jsf">
            
            </script></head><body><table border="0" cellpadding="0" cellspacing="0" class="dr-sb-int-decor-table rich-sb-int-decor-table " width="100%" id="j_id52:j_id78:suggest"><colgroup span="1"></colgroup><tbody><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">SERGEANT</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">SERGEANT</td></tr><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">TITIDOUDOUNE</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">TITIDOUDOUNE</td></tr><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">SUPER</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">SUPER</td></tr></tbody></table><meta name="Ajax-Update-Ids" content="j_id52:j_id78:suggest" /><span id="ajax-view-state"><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id4" /></span><meta id="Ajax-Response" name="Ajax-Response" content="true" /><!-- MYFACES JAVASCRIPT -->
            
            </body></html>
            debug[23:07:02,209]: Header Ajax-Expired not found, search in <meta>
            debug[23:07:02,210]: search for elements by name 'meta' in element #document
            debug[23:07:02,216]: getElementsByTagName found 2
            debug[23:07:02,217]: Find <meta name='Ajax-Update-Ids' content='j_id52:j_id78:suggest'>
            debug[23:07:02,217]: Find <meta name='Ajax-Response' content='true'>
            debug[23:07:02,218]: Header Ajax-Update-Ids not found, search in <meta>
            debug[23:07:02,219]: search for elements by name 'meta' in element #document
            debug[23:07:02,223]: getElementsByTagName found 2
            debug[23:07:02,224]: Find <meta name='Ajax-Update-Ids' content='j_id52:j_id78:suggest'>
            debug[23:07:02,225]: Update page by list of rendered areas from response j_id52:j_id78:suggest
            debug[23:07:02,226]: search for elements by name 'script' in element #document
            debug[23:07:02,232]: getElementsByTagName found 15
            debug[23:07:02,233]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.PrototypeScript.jsf
            debug[23:07:02,234]: Such element exist in document
            debug[23:07:02,235]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf
            debug[23:07:02,236]: Such element exist in document
            debug[23:07:02,236]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/togglePanel.js.jsf
            debug[23:07:02,237]: Such element exist in document
            debug[23:07:02,237]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/utils.js.jsf
            debug[23:07:02,238]: Such element exist in document
            debug[23:07:02,238]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/ajax4jsf/javascript/scripts/form.js.jsf
            debug[23:07:02,239]: Such element exist in document
            debug[23:07:02,240]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/form.js.jsf
            debug[23:07:02,241]: Such element exist in document
            debug[23:07:02,241]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/menu.js.jsf
            debug[23:07:02,242]: Such element exist in document
            debug[23:07:02,243]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/browser_info.js.jsf
            debug[23:07:02,244]: Such element exist in document
            debug[23:07:02,244]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/modalPanel.js.jsf
            debug[23:07:02,245]: Such element exist in document
            debug[23:07:02,246]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/modalPanelBorders.js.jsf
            debug[23:07:02,247]: Such element exist in document
            debug[23:07:02,248]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/scriptaculous/effects.js.jsf
            debug[23:07:02,249]: Such element exist in document
            debug[23:07:02,250]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/script/processEffect.js.jsf
            debug[23:07:02,251]: Such element exist in document
            debug[23:07:02,251]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.SmartPositionScript.jsf
            debug[23:07:02,252]: Such element exist in document
            debug[23:07:02,253]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/scriptaculo.js.jsf
            debug[23:07:02,254]: Such element exist in document
            debug[23:07:02,254]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/suggestionbox.js.jsf
            debug[23:07:02,255]: Such element exist in document
            debug[23:07:02,256]: search for elements by name 'link' in element #document
            debug[23:07:02,263]: getElementsByTagName found 6
            debug[23:07:02,264]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTcss/toggleControl.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:02,265]: Such element exist in document
            debug[23:07:02,266]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTcss/toolBar.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:02,266]: Such element exist in document
            debug[23:07:02,267]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTcss/menucomponents.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:02,267]: Such element exist in document
            debug[23:07:02,268]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTcss/dropdownmenu.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:02,268]: Such element exist in document
            debug[23:07:02,269]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:02,269]: Such element exist in document
            debug[23:07:02,270]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/css/suggestionbox.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:02,270]: Such element exist in document
            debug[23:07:02,271]: Attempt to update part of page for Id: j_id52:j_id78:suggest
            debug[23:07:02,271]: call getElementById for id= j_id52:j_id78:suggest
            debug[23:07:02,272]: Replace content of node by replaceChild()
            debug[23:07:02,274]: search for elements by name 'script' in element table
            debug[23:07:02,279]: getElementsByTagName found 0
            debug[23:07:02,280]: Scripts in updated part count : 0
            debug[23:07:02,281]: call getElementById for id= org.ajax4jsf.oncomplete
            debug[23:07:02,281]: Call component oncomplete function after processing updates
            debug[23:07:02,282]: Update part of page for Id: j_id52:j_id78:suggest successful
            debug[23:07:02,282]: call getElementById for id= ajax-view-state
            debug[23:07:02,283]: Hidden JSF state fields: [object HTMLSpanElement]
            debug[23:07:02,284]: Namespace for hidden view-state input fields is undefined
            debug[23:07:02,285]: search for elements by name 'input' in element span
            debug[23:07:02,288]: getElementsByTagName found 1
            debug[23:07:02,289]: Replace value for inputs: 13 by new values: 1
            debug[23:07:02,290]: Input in response: javax.faces.ViewState
            debug[23:07:02,290]: Found same input on page with type: hidden
            debug[23:07:02,291]: Found same input on page with type: hidden
            debug[23:07:02,292]: search for elements by name 'INPUT' in element span
            debug[23:07:02,296]: getElementsByTagName found 0
            debug[23:07:02,297]: Replace value for inputs: 13 by new values: 0
            debug[23:07:02,298]: call getElementById for id= _A4J.AJAX.focus
            debug[23:07:02,298]: No focus information in response
            debug[23:07:02,299]: call getElementById for id= org.ajax4jsf.oncomplete
            debug[23:07:02,299]: Call component oncomplete function after processing updates
            debug[23:07:02,348]: call getElementById for id= _ajax:data
            debug[23:07:02,349]: AJAX response complete - updateChoices
            debug[23:07:02,356]: render for index 0 and old index -1
            debug[23:07:02,358]: Choices updated
            debug[23:07:02,395]: call getElementById for id= _ajax:data
            debug[23:07:02,395]: AJAX response complete - updateChoices
            debug[23:07:02,400]: render for index 0 and old index -1
            debug[23:07:02,401]: Choices updated
            


            Second time :
            debug[23:07:44,858]: set timeout for request suggestion
            debug[23:07:44,887]: clear existing observer
            debug[23:07:44,889]: set timeout for request suggestion
            debug[23:07:44,919]: Observer event occurs
            debug[23:07:44,921]: Call data for update choices
            debug[23:07:44,923]: Have Event [object Object] with properties: target: [object HTMLInputElement], srcElement: undefined, type: keydown
            debug[23:07:44,926]: NEW AJAX REQUEST !!! with form :j_id52
            debug[23:07:44,929]: Append hidden control j_id52 with value [j_id52] and value attribute [j_id52]
            debug[23:07:44,930]: Append text control j_id52:itLogin with value [] and value attribute [null]
            debug[23:07:44,933]: Append text control j_id52:itNom with value [] and value attribute [null]
            debug[23:07:44,935]: Append text control j_id52:itPrenom with value [] and value attribute [null]
            debug[23:07:44,938]: Append select-one control j_id52:itProfil with value [0] and value attribute [null]
            debug[23:07:44,939]: Append text control j_id52:itTestSuggestionBox with value [FRA] and value attribute [null]
            debug[23:07:44,939]: Append hidden control j_id52:j_id78_selection with value [] and value attribute [null]
            debug[23:07:44,940]: Append hidden control javax.faces.ViewState with value [j_id4] and value attribute [j_id4]
            debug[23:07:44,940]: parameter j_id52:j_id78 with value j_id52:j_id78
            debug[23:07:44,941]: parameter inputvalue with value FRA
            debug[23:07:44,983]: Start XmlHttpRequest
            debug[23:07:44,985]: Reqest state : 1
            debug[23:07:44,986]: QueryString: AJAXREQUEST=_viewRoot&j_id52=j_id52&j_id52%3AitLogin=&j_id52%3AitNom=&j_id52%3AitPrenom=&j_id52%3AitProfil=0&j_id52%3AitTestSuggestionBox=FRA&j_id52%3Aj_id78_selection=&javax.faces.ViewState=j_id4&j_id52%3Aj_id78=j_id52%3Aj_id78&inputvalue=FRA&
            debug[23:07:44,991]: Reqest state : 1
            debug[23:07:45,154]: Reqest state : 2
            debug[23:07:45,156]: Reqest state : 3
            debug[23:07:45,157]: Reqest state : 3
            debug[23:07:45,157]: Reqest state : 4
            debug[23:07:45,158]: Reqest end with state 4
            debug[23:07:45,158]: Response with content-type: text/xml;charset=UTF-8
            debug[23:07:45,159]: Full response content: <?xml version="1.0"?>
            
            <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTcss/toggleControl.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTcss/toolBar.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTcss/menucomponents.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTcss/dropdownmenu.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><link type="text/css" rel="stylesheet" href="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/css/suggestionbox.xcss/DATB/eAFrrL17DQAGDwKy.jsf" class="component" /><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.PrototypeScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/togglePanel.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/utils.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/ajax4jsf/javascript/scripts/form.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/form.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/menu.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/browser_info.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/modalPanel.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/modalPanelBorders.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/scriptaculous/effects.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/script/processEffect.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.SmartPositionScript.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/scriptaculo.js.jsf">
            
            </script><script type="text/javascript" src="/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/suggestionbox.js.jsf">
            
            </script></head><body><table border="0" cellpadding="0" cellspacing="0" class="dr-sb-int-decor-table rich-sb-int-decor-table " width="100%" id="j_id52:j_id78:suggest"><colgroup span="1"></colgroup><tbody><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">SERGEANT</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">SERGEANT</td></tr><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">TITIDOUDOUNE</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">TITIDOUDOUNE</td></tr><tr class="dr-sb-int rich-sb-int richfaces_suggestionEntry"><td style="display: none;" class="richfaces_suggestionSelectValue">SUPER</td><td nowrap="nowrap" class="dr-sb-cell-padding rich-sb-cell-padding" style="padding: 5px;">SUPER</td></tr></tbody></table><meta name="Ajax-Update-Ids" content="j_id52:j_id78:suggest" /><span id="ajax-view-state"><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id4" /></span><meta id="Ajax-Response" name="Ajax-Response" content="true" /><!-- MYFACES JAVASCRIPT -->
            
            </body></html>
            debug[23:07:45,160]: Header Ajax-Expired not found, search in <meta>
            debug[23:07:45,160]: search for elements by name 'meta' in element #document
            debug[23:07:45,166]: getElementsByTagName found 2
            debug[23:07:45,167]: Find <meta name='Ajax-Update-Ids' content='j_id52:j_id78:suggest'>
            debug[23:07:45,167]: Find <meta name='Ajax-Response' content='true'>
            debug[23:07:45,168]: Header Ajax-Update-Ids not found, search in <meta>
            debug[23:07:45,168]: search for elements by name 'meta' in element #document
            debug[23:07:45,172]: getElementsByTagName found 2
            debug[23:07:45,173]: Find <meta name='Ajax-Update-Ids' content='j_id52:j_id78:suggest'>
            debug[23:07:45,173]: Update page by list of rendered areas from response j_id52:j_id78:suggest
            debug[23:07:45,174]: search for elements by name 'script' in element #document
            debug[23:07:45,180]: getElementsByTagName found 15
            debug[23:07:45,181]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.PrototypeScript.jsf
            debug[23:07:45,182]: Such element exist in document
            debug[23:07:45,183]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf
            debug[23:07:45,183]: Such element exist in document
            debug[23:07:45,184]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/togglePanel.js.jsf
            debug[23:07:45,184]: Such element exist in document
            debug[23:07:45,185]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/utils.js.jsf
            debug[23:07:45,186]: Such element exist in document
            debug[23:07:45,186]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/ajax4jsf/javascript/scripts/form.js.jsf
            debug[23:07:45,187]: Such element exist in document
            debug[23:07:45,187]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/form.js.jsf
            debug[23:07:45,188]: Such element exist in document
            debug[23:07:45,188]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/menu.js.jsf
            debug[23:07:45,189]: Such element exist in document
            debug[23:07:45,189]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/browser_info.js.jsf
            debug[23:07:45,190]: Such element exist in document
            debug[23:07:45,191]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/modalPanel.js.jsf
            debug[23:07:45,192]: Such element exist in document
            debug[23:07:45,192]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/modalPanelBorders.js.jsf
            debug[23:07:45,193]: Such element exist in document
            debug[23:07:45,194]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTscripts/scriptaculous/effects.js.jsf
            debug[23:07:45,195]: Such element exist in document
            debug[23:07:45,196]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/script/processEffect.js.jsf
            debug[23:07:45,197]: Such element exist in document
            debug[23:07:45,198]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.SmartPositionScript.jsf
            debug[23:07:45,199]: Such element exist in document
            debug[23:07:45,199]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/scriptaculo.js.jsf
            debug[23:07:45,200]: Such element exist in document
            debug[23:07:45,201]: <script> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/suggestionbox.js.jsf
            debug[23:07:45,202]: Such element exist in document
            debug[23:07:45,203]: search for elements by name 'link' in element #document
            debug[23:07:45,209]: getElementsByTagName found 6
            debug[23:07:45,210]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTcss/toggleControl.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:45,210]: Such element exist in document
            debug[23:07:45,211]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTcss/toolBar.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:45,211]: Such element exist in document
            debug[23:07:45,212]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTcss/menucomponents.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:45,212]: Such element exist in document
            debug[23:07:45,213]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTcss/dropdownmenu.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:45,213]: Such element exist in document
            debug[23:07:45,214]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:45,214]: Such element exist in document
            debug[23:07:45,215]: <link> in response with src=/projetBlanc/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/css/suggestionbox.xcss/DATB/eAFrrL17DQAGDwKy.jsf
            debug[23:07:45,216]: Such element exist in document
            debug[23:07:45,217]: Attempt to update part of page for Id: j_id52:j_id78:suggest
            debug[23:07:45,218]: call getElementById for id= j_id52:j_id78:suggest
            debug[23:07:45,221]: Replace content of node by replaceChild()
            debug[23:07:45,221]: search for elements by name 'script' in element table
            debug[23:07:45,227]: getElementsByTagName found 0
            debug[23:07:45,227]: Scripts in updated part count : 0
            debug[23:07:45,228]: call getElementById for id= org.ajax4jsf.oncomplete
            debug[23:07:45,228]: Call component oncomplete function after processing updates
            debug[23:07:45,231]: Update part of page for Id: j_id52:j_id78:suggest successful
            debug[23:07:45,231]: call getElementById for id= ajax-view-state
            debug[23:07:45,232]: Hidden JSF state fields: [object HTMLSpanElement]
            debug[23:07:45,233]: Namespace for hidden view-state input fields is undefined
            debug[23:07:45,234]: search for elements by name 'input' in element span
            debug[23:07:45,240]: getElementsByTagName found 1
            debug[23:07:45,241]: Replace value for inputs: 13 by new values: 1
            debug[23:07:45,242]: Input in response: javax.faces.ViewState
            debug[23:07:45,244]: Found same input on page with type: hidden
            debug[23:07:45,245]: Found same input on page with type: hidden
            debug[23:07:45,246]: search for elements by name 'INPUT' in element span
            debug[23:07:45,250]: getElementsByTagName found 0
            debug[23:07:45,250]: Replace value for inputs: 13 by new values: 0
            debug[23:07:45,251]: call getElementById for id= _A4J.AJAX.focus
            debug[23:07:45,252]: No focus information in response
            debug[23:07:45,252]: call getElementById for id= org.ajax4jsf.oncomplete
            debug[23:07:45,253]: Call component oncomplete function after processing updates
            debug[23:07:45,283]: call getElementById for id= _ajax:data
            debug[23:07:45,284]: AJAX response complete - updateChoices
            debug[23:07:45,290]: render for index 0 and old index -1
            debug[23:07:45,295]: Choices updated
            debug[23:07:45,342]: call getElementById for id= _ajax:data
            debug[23:07:45,343]: AJAX response complete - updateChoices
            debug[23:07:45,348]: render for index 0 and old index -1
            debug[23:07:45,352]: Choices updated
            debug[23:07:47,676]: render for index 1 and old index 0
            


            • 3. Re: SuggestionBox : strange issue when upgrading
              thieumdesp

              should read

              First try : richfaces 3.1.2SP1

              Second try : richfaces 3.1.3GA

              third try richfaces 3.2.0SNAPSHOT (20080117)