[
http://jira.jboss.com/jira/browse/RF-3013?page=comments#action_12408022 ]
Jens Behrens commented on RF-3013:
----------------------------------
Sorry, but even if i take your testing example, the problem is that each request initiates
the rerendering.
See the a4j:log output (in my webapp with your example) btw i user I used
core-3.2.1-20080409.044146-7.jar,
richfaces-api-3.2.1-20080409.044146-7.jar,richfaces-impl-3.2.1-20080409.044146-7.jar
=======>>>>>>
debug[8:43:27,721]: NEW AJAX REQUEST !!! with form :j_id2:_form
debug[8:43:27,737]: Append hidden control javax.faces.ViewState with value [j_id3] and
value attribute [j_id3]
debug[8:43:27,737]: parameter j_id2 with value j_id2
debug[8:43:27,737]: Start XmlHttpRequest
debug[8:43:27,753]: Reqest state : 1
debug[8:43:27,753]: QueryString:
AJAXREQUEST=_viewRoot&javax.faces.ViewState=j_id3&j_id2=j_id2&
debug[8:43:27,768]: Reqest state : 2
debug[8:43:27,768]: Reqest state : 3
debug[8:43:27,768]: Reqest state : 4
debug[8:43:27,768]: Reqest end with state 4
debug[8:43:27,784]: Response with content-type: text/xml;charset=UTF-8
debug[8:43:27,784]: Full response content: <html
xmlns="http://www.w3.org/1999/xhtml"><head><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><script
src="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf"
type="text/javascript"></script></head><body><table
id="msg">
<thead><tr><th colspan="2"
scope="colgroup"><h2>Messags : </h2></th></tr>
</thead><tbody></tbody></table>
<meta name="Ajax-Update-Ids" content="msg" /><span
id="ajax-view-state"><input type="hidden"
name="javax.faces.ViewState" id="javax.faces.ViewState"
value="j_id3" /></span><meta id="Ajax-Response"
name="Ajax-Response" content="true" /></body></html>
debug[8:43:27,784]: Header Ajax-Expired not found, search in <meta>
debug[8:43:27,784]: search for elements by name 'meta' in element #document
debug[8:43:27,799]: selectNodes found 2
debug[8:43:27,799]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:27,799]: Find <meta name='Ajax-Response' content='true'>
debug[8:43:27,799]: Header Ajax-Update-Ids not found, search in <meta>
debug[8:43:27,815]: search for elements by name 'meta' in element #document
debug[8:43:27,815]: selectNodes found 2
debug[8:43:27,815]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:27,815]: Update page by list of rendered areas from response msg
debug[8:43:27,831]: search for elements by name 'script' in element #document
debug[8:43:27,831]: selectNodes found 1
debug[8:43:27,831]: <script> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf
debug[8:43:27,831]: Such element exist in document
debug[8:43:27,846]: search for elements by name 'link' in element #document
debug[8:43:27,846]: selectNodes found 2
debug[8:43:27,846]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:27,846]: Such element exist in document
debug[8:43:27,862]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:27,862]: Such element exist in document
debug[8:43:27,862]: Attempt to update part of page for Id: msg
debug[8:43:27,862]: call selectSingleNode for id= msg
debug[8:43:27,878]: Replace content of node by outerHTML()
error[8:43:27,878]: Error to clear node content by innerHTML Unbekannter Laufzeitfehler
debug[8:43:27,878]: search for elements by name 'script' in element table
debug[8:43:27,878]: selectNodes found 0
debug[8:43:27,893]: Scripts in updated part count : 0
debug[8:43:27,893]: call selectSingleNode for id= org.ajax4jsf.oncomplete
debug[8:43:27,893]: Update part of page for Id: msg successful
debug[8:43:27,893]: call selectSingleNode for id= ajax-view-state
debug[8:43:27,909]: Hidden JSF state fields:
debug[8:43:27,909]: Namespace for hidden view-state input fields is undefined
debug[8:43:27,909]: search for elements by name 'input' in element span
debug[8:43:27,909]: selectNodes found 1
debug[8:43:27,909]: Replace value for inputs: 3 by new values: 1
debug[8:43:27,924]: Input in response: javax.faces.ViewState
debug[8:43:27,924]: Found same input on page with type: hidden
debug[8:43:27,924]: Found same input on page with type: hidden
debug[8:43:27,924]: search for elements by name 'INPUT' in element span
debug[8:43:27,940]: selectNodes found 0
debug[8:43:27,940]: Replace value for inputs: 3 by new values: 0
debug[8:43:27,940]: call selectSingleNode for id= _A4J.AJAX.focus
debug[8:43:27,940]: No focus information in response
debug[8:43:30,753]: NEW AJAX REQUEST !!! with form :j_id2:_form
debug[8:43:30,753]: Append hidden control javax.faces.ViewState with value [j_id3] and
value attribute [j_id3]
debug[8:43:30,768]: parameter j_id2 with value j_id2
debug[8:43:30,768]: Start XmlHttpRequest
debug[8:43:30,768]: Reqest state : 1
debug[8:43:30,768]: QueryString:
AJAXREQUEST=_viewRoot&javax.faces.ViewState=j_id3&j_id2=j_id2&
debug[8:43:30,784]: Reqest state : 2
debug[8:43:30,831]: Reqest state : 3
debug[8:43:30,831]: Reqest state : 4
debug[8:43:30,831]: Reqest end with state 4
debug[8:43:30,831]: Response with content-type: text/xml;charset=UTF-8
debug[8:43:30,846]: Full response content: <html
xmlns="http://www.w3.org/1999/xhtml"><head><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><script
src="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf"
type="text/javascript"></script></head><body><table
id="msg">
<thead><tr><th colspan="2"
scope="colgroup"><h2>Messags : </h2></th></tr>
</thead><tbody><tr><td>Message :</td><td>0 at Thu Apr
10 08:43:28 CEST 2008</td>
</tr></tbody></table>
<meta name="Ajax-Update-Ids" content="msg" /><span
id="ajax-view-state"><input type="hidden"
name="javax.faces.ViewState" id="javax.faces.ViewState"
value="j_id3" /></span><meta id="Ajax-Response"
name="Ajax-Response" content="true" /></body></html>
debug[8:43:30,846]: Header Ajax-Expired not found, search in <meta>
debug[8:43:30,846]: search for elements by name 'meta' in element #document
debug[8:43:30,862]: selectNodes found 2
debug[8:43:30,862]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:30,862]: Find <meta name='Ajax-Response' content='true'>
debug[8:43:30,862]: Header Ajax-Update-Ids not found, search in <meta>
debug[8:43:30,878]: search for elements by name 'meta' in element #document
debug[8:43:30,878]: selectNodes found 2
debug[8:43:30,878]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:30,893]: Update page by list of rendered areas from response msg
debug[8:43:30,893]: search for elements by name 'script' in element #document
debug[8:43:30,893]: selectNodes found 1
debug[8:43:30,893]: <script> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf
debug[8:43:30,909]: Such element exist in document
debug[8:43:30,909]: search for elements by name 'link' in element #document
debug[8:43:30,909]: selectNodes found 2
debug[8:43:30,909]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:30,924]: Such element exist in document
debug[8:43:30,924]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:30,924]: Such element exist in document
debug[8:43:30,924]: Attempt to update part of page for Id: msg
debug[8:43:30,940]: call selectSingleNode for id= msg
debug[8:43:30,940]: Replace content of node by outerHTML()
error[8:43:30,940]: Error to clear node content by innerHTML Unbekannter Laufzeitfehler
debug[8:43:30,940]: search for elements by name 'script' in element table
debug[8:43:30,956]: selectNodes found 0
debug[8:43:30,956]: Scripts in updated part count : 0
debug[8:43:30,956]: call selectSingleNode for id= org.ajax4jsf.oncomplete
debug[8:43:30,956]: Update part of page for Id: msg successful
debug[8:43:30,956]: call selectSingleNode for id= ajax-view-state
debug[8:43:30,971]: Hidden JSF state fields:
debug[8:43:30,971]: Namespace for hidden view-state input fields is undefined
debug[8:43:30,971]: search for elements by name 'input' in element span
debug[8:43:30,987]: selectNodes found 1
debug[8:43:30,987]: Replace value for inputs: 3 by new values: 1
debug[8:43:30,987]: Input in response: javax.faces.ViewState
debug[8:43:30,987]: Found same input on page with type: hidden
debug[8:43:31,003]: Found same input on page with type: hidden
debug[8:43:31,003]: search for elements by name 'INPUT' in element span
debug[8:43:31,003]: selectNodes found 0
debug[8:43:31,003]: Replace value for inputs: 3 by new values: 0
debug[8:43:31,003]: call selectSingleNode for id= _A4J.AJAX.focus
debug[8:43:31,018]: No focus information in response
debug[8:43:33,784]: NEW AJAX REQUEST !!! with form :j_id2:_form
debug[8:43:33,784]: Append hidden control javax.faces.ViewState with value [j_id3] and
value attribute [j_id3]
debug[8:43:33,784]: parameter j_id2 with value j_id2
debug[8:43:33,799]: Start XmlHttpRequest
debug[8:43:33,799]: Reqest state : 1
debug[8:43:33,799]: QueryString:
AJAXREQUEST=_viewRoot&javax.faces.ViewState=j_id3&j_id2=j_id2&
debug[8:43:33,815]: Reqest state : 2
debug[8:43:33,831]: Reqest state : 3
debug[8:43:33,831]: Reqest state : 4
debug[8:43:33,831]: Reqest end with state 4
debug[8:43:33,831]: Response with content-type: text/xml;charset=UTF-8
debug[8:43:33,831]: Full response content: <html
xmlns="http://www.w3.org/1999/xhtml"><head><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><script
src="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf"
type="text/javascript"></script></head><body><table
id="msg">
<thead><tr><th colspan="2"
scope="colgroup"><h2>Messags : </h2></th></tr>
</thead><tbody><tr><td>Message :</td><td>0 at Thu Apr
10 08:43:28 CEST 2008</td>
</tr></tbody></table>
<meta name="Ajax-Update-Ids" content="msg" /><span
id="ajax-view-state"><input type="hidden"
name="javax.faces.ViewState" id="javax.faces.ViewState"
value="j_id3" /></span><meta id="Ajax-Response"
name="Ajax-Response" content="true" /></body></html>
debug[8:43:33,846]: Header Ajax-Expired not found, search in <meta>
debug[8:43:33,846]: search for elements by name 'meta' in element #document
debug[8:43:33,846]: selectNodes found 2
debug[8:43:33,862]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:33,862]: Find <meta name='Ajax-Response' content='true'>
debug[8:43:33,862]: Header Ajax-Update-Ids not found, search in <meta>
debug[8:43:33,862]: search for elements by name 'meta' in element #document
debug[8:43:33,862]: selectNodes found 2
debug[8:43:33,878]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:33,878]: Update page by list of rendered areas from response msg
debug[8:43:33,878]: search for elements by name 'script' in element #document
debug[8:43:33,878]: selectNodes found 1
debug[8:43:33,893]: <script> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf
debug[8:43:33,893]: Such element exist in document
debug[8:43:33,893]: search for elements by name 'link' in element #document
debug[8:43:33,909]: selectNodes found 2
debug[8:43:33,909]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:33,909]: Such element exist in document
debug[8:43:33,909]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:33,909]: Such element exist in document
debug[8:43:33,924]: Attempt to update part of page for Id: msg
debug[8:43:33,924]: call selectSingleNode for id= msg
debug[8:43:33,924]: Replace content of node by outerHTML()
error[8:43:33,924]: Error to clear node content by innerHTML Unbekannter Laufzeitfehler
debug[8:43:33,940]: search for elements by name 'script' in element table
debug[8:43:33,940]: selectNodes found 0
debug[8:43:33,940]: Scripts in updated part count : 0
debug[8:43:33,940]: call selectSingleNode for id= org.ajax4jsf.oncomplete
debug[8:43:33,956]: Update part of page for Id: msg successful
debug[8:43:33,956]: call selectSingleNode for id= ajax-view-state
debug[8:43:33,956]: Hidden JSF state fields:
debug[8:43:33,956]: Namespace for hidden view-state input fields is undefined
debug[8:43:33,971]: search for elements by name 'input' in element span
debug[8:43:33,971]: selectNodes found 1
debug[8:43:33,971]: Replace value for inputs: 3 by new values: 1
debug[8:43:33,971]: Input in response: javax.faces.ViewState
debug[8:43:33,987]: Found same input on page with type: hidden
debug[8:43:33,987]: Found same input on page with type: hidden
debug[8:43:33,987]: search for elements by name 'INPUT' in element span
debug[8:43:33,987]: selectNodes found 0
debug[8:43:34,003]: Replace value for inputs: 3 by new values: 0
debug[8:43:34,003]: call selectSingleNode for id= _A4J.AJAX.focus
debug[8:43:34,003]: No focus information in response
debug[8:43:36,815]: NEW AJAX REQUEST !!! with form :j_id2:_form
debug[8:43:36,815]: Append hidden control javax.faces.ViewState with value [j_id3] and
value attribute [j_id3]
debug[8:43:36,831]: parameter j_id2 with value j_id2
debug[8:43:36,831]: Start XmlHttpRequest
debug[8:43:36,831]: Reqest state : 1
debug[8:43:36,846]: QueryString:
AJAXREQUEST=_viewRoot&javax.faces.ViewState=j_id3&j_id2=j_id2&
debug[8:43:36,846]: Reqest state : 2
debug[8:43:36,862]: Reqest state : 3
debug[8:43:36,862]: Reqest state : 4
debug[8:43:36,862]: Reqest end with state 4
debug[8:43:36,862]: Response with content-type: text/xml;charset=UTF-8
debug[8:43:36,909]: Full response content: <html
xmlns="http://www.w3.org/1999/xhtml"><head><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><script
src="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf"
type="text/javascript"></script></head><body><table
id="msg">
<thead><tr><th colspan="2"
scope="colgroup"><h2>Messags : </h2></th></tr>
</thead><tbody><tr><td>Message :</td><td>0 at Thu Apr
10 08:43:28 CEST 2008</td>
</tr></tbody></table>
<meta name="Ajax-Update-Ids" content="msg" /><span
id="ajax-view-state"><input type="hidden"
name="javax.faces.ViewState" id="javax.faces.ViewState"
value="j_id3" /></span><meta id="Ajax-Response"
name="Ajax-Response" content="true" /></body></html>
debug[8:43:36,909]: Header Ajax-Expired not found, search in <meta>
debug[8:43:36,909]: search for elements by name 'meta' in element #document
debug[8:43:36,924]: selectNodes found 2
debug[8:43:36,924]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:36,924]: Find <meta name='Ajax-Response' content='true'>
debug[8:43:36,924]: Header Ajax-Update-Ids not found, search in <meta>
debug[8:43:36,940]: search for elements by name 'meta' in element #document
debug[8:43:36,940]: selectNodes found 2
debug[8:43:36,940]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:36,956]: Update page by list of rendered areas from response msg
debug[8:43:36,956]: search for elements by name 'script' in element #document
debug[8:43:36,956]: selectNodes found 1
debug[8:43:36,956]: <script> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf
debug[8:43:36,971]: Such element exist in document
debug[8:43:36,971]: search for elements by name 'link' in element #document
debug[8:43:36,971]: selectNodes found 2
debug[8:43:36,971]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:36,987]: Such element exist in document
debug[8:43:36,987]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:36,987]: Such element exist in document
debug[8:43:36,987]: Attempt to update part of page for Id: msg
debug[8:43:37,003]: call selectSingleNode for id= msg
debug[8:43:37,003]: Replace content of node by outerHTML()
error[8:43:37,003]: Error to clear node content by innerHTML Unbekannter Laufzeitfehler
debug[8:43:37,003]: search for elements by name 'script' in element table
debug[8:43:37,018]: selectNodes found 0
debug[8:43:37,018]: Scripts in updated part count : 0
debug[8:43:37,018]: call selectSingleNode for id= org.ajax4jsf.oncomplete
debug[8:43:37,018]: Update part of page for Id: msg successful
debug[8:43:37,018]: call selectSingleNode for id= ajax-view-state
debug[8:43:37,034]: Hidden JSF state fields:
debug[8:43:37,034]: Namespace for hidden view-state input fields is undefined
debug[8:43:37,034]: search for elements by name 'input' in element span
debug[8:43:37,034]: selectNodes found 1
debug[8:43:37,049]: Replace value for inputs: 3 by new values: 1
debug[8:43:37,049]: Input in response: javax.faces.ViewState
debug[8:43:37,049]: Found same input on page with type: hidden
debug[8:43:37,049]: Found same input on page with type: hidden
debug[8:43:37,065]: search for elements by name 'INPUT' in element span
debug[8:43:37,065]: selectNodes found 0
debug[8:43:37,065]: Replace value for inputs: 3 by new values: 0
debug[8:43:37,065]: call selectSingleNode for id= _A4J.AJAX.focus
debug[8:43:37,081]: No focus information in response
debug[8:43:39,846]: NEW AJAX REQUEST !!! with form :j_id2:_form
debug[8:43:39,862]: Append hidden control javax.faces.ViewState with value [j_id3] and
value attribute [j_id3]
debug[8:43:39,862]: parameter j_id2 with value j_id2
debug[8:43:39,862]: Start XmlHttpRequest
debug[8:43:39,862]: Reqest state : 1
debug[8:43:39,878]: QueryString:
AJAXREQUEST=_viewRoot&javax.faces.ViewState=j_id3&j_id2=j_id2&
debug[8:43:39,893]: Reqest state : 2
debug[8:43:39,893]: Reqest state : 3
debug[8:43:39,893]: Reqest state : 4
debug[8:43:39,893]: Reqest end with state 4
debug[8:43:39,909]: Response with content-type: text/xml;charset=UTF-8
debug[8:43:39,909]: Full response content: <html
xmlns="http://www.w3.org/1999/xhtml"><head><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><script
src="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf"
type="text/javascript"></script></head><body><table
id="msg">
<thead><tr><th colspan="2"
scope="colgroup"><h2>Messags : </h2></th></tr>
</thead><tbody><tr><td>Message :</td><td>0 at Thu Apr
10 08:43:28 CEST 2008</td>
</tr><tr><td>Message :</td><td>1 at Thu Apr 10 08:43:38 CEST
2008</td></tr>
</tbody></table>
<meta name="Ajax-Update-Ids" content="msg" /><span
id="ajax-view-state"><input type="hidden"
name="javax.faces.ViewState" id="javax.faces.ViewState"
value="j_id3" /></span><meta id="Ajax-Response"
name="Ajax-Response" content="true" /></body></html>
debug[8:43:39,909]: Header Ajax-Expired not found, search in <meta>
debug[8:43:39,909]: search for elements by name 'meta' in element #document
debug[8:43:39,924]: selectNodes found 2
debug[8:43:39,924]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:39,924]: Find <meta name='Ajax-Response' content='true'>
debug[8:43:39,924]: Header Ajax-Update-Ids not found, search in <meta>
debug[8:43:39,940]: search for elements by name 'meta' in element #document
debug[8:43:39,940]: selectNodes found 2
debug[8:43:39,940]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:39,940]: Update page by list of rendered areas from response msg
debug[8:43:39,956]: search for elements by name 'script' in element #document
debug[8:43:39,956]: selectNodes found 1
debug[8:43:39,956]: <script> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf
debug[8:43:39,956]: Such element exist in document
debug[8:43:39,971]: search for elements by name 'link' in element #document
debug[8:43:39,971]: selectNodes found 2
debug[8:43:39,971]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:39,971]: Such element exist in document
debug[8:43:39,987]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:39,987]: Such element exist in document
debug[8:43:39,987]: Attempt to update part of page for Id: msg
debug[8:43:39,987]: call selectSingleNode for id= msg
debug[8:43:39,987]: Replace content of node by outerHTML()
error[8:43:40,003]: Error to clear node content by innerHTML Unbekannter Laufzeitfehler
debug[8:43:40,003]: search for elements by name 'script' in element table
debug[8:43:40,003]: selectNodes found 0
debug[8:43:40,003]: Scripts in updated part count : 0
debug[8:43:40,018]: call selectSingleNode for id= org.ajax4jsf.oncomplete
debug[8:43:40,018]: Update part of page for Id: msg successful
debug[8:43:40,018]: call selectSingleNode for id= ajax-view-state
debug[8:43:40,018]: Hidden JSF state fields:
debug[8:43:40,034]: Namespace for hidden view-state input fields is undefined
debug[8:43:40,034]: search for elements by name 'input' in element span
debug[8:43:40,034]: selectNodes found 1
debug[8:43:40,034]: Replace value for inputs: 3 by new values: 1
debug[8:43:40,049]: Input in response: javax.faces.ViewState
debug[8:43:40,049]: Found same input on page with type: hidden
debug[8:43:40,049]: Found same input on page with type: hidden
debug[8:43:40,049]: search for elements by name 'INPUT' in element span
debug[8:43:40,065]: selectNodes found 0
debug[8:43:40,065]: Replace value for inputs: 3 by new values: 0
debug[8:43:40,065]: call selectSingleNode for id= _A4J.AJAX.focus
debug[8:43:40,065]: No focus information in response
debug[8:43:42,878]: NEW AJAX REQUEST !!! with form :j_id2:_form
debug[8:43:42,878]: Append hidden control javax.faces.ViewState with value [j_id3] and
value attribute [j_id3]
debug[8:43:42,893]: parameter j_id2 with value j_id2
debug[8:43:42,893]: Start XmlHttpRequest
debug[8:43:42,893]: Reqest state : 1
debug[8:43:42,909]: QueryString:
AJAXREQUEST=_viewRoot&javax.faces.ViewState=j_id3&j_id2=j_id2&
debug[8:43:42,909]: Reqest state : 2
debug[8:43:42,924]: Reqest state : 3
debug[8:43:42,924]: Reqest state : 4
debug[8:43:42,924]: Reqest end with state 4
debug[8:43:42,924]: Response with content-type: text/xml;charset=UTF-8
debug[8:43:42,940]: Full response content: <html
xmlns="http://www.w3.org/1999/xhtml"><head><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><script
src="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf"
type="text/javascript"></script></head><body><table
id="msg">
<thead><tr><th colspan="2"
scope="colgroup"><h2>Messags : </h2></th></tr>
</thead><tbody><tr><td>Message :</td><td>0 at Thu Apr
10 08:43:28 CEST 2008</td>
</tr><tr><td>Message :</td><td>1 at Thu Apr 10 08:43:38 CEST
2008</td></tr>
</tbody></table>
<meta name="Ajax-Update-Ids" content="msg" /><span
id="ajax-view-state"><input type="hidden"
name="javax.faces.ViewState" id="javax.faces.ViewState"
value="j_id3" /></span><meta id="Ajax-Response"
name="Ajax-Response" content="true" /></body></html>
debug[8:43:42,940]: Header Ajax-Expired not found, search in <meta>
debug[8:43:42,940]: search for elements by name 'meta' in element #document
debug[8:43:42,940]: selectNodes found 2
debug[8:43:42,956]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:42,987]: Find <meta name='Ajax-Response' content='true'>
debug[8:43:42,987]: Header Ajax-Update-Ids not found, search in <meta>
debug[8:43:43,003]: search for elements by name 'meta' in element #document
debug[8:43:43,003]: selectNodes found 2
debug[8:43:43,003]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:43,018]: Update page by list of rendered areas from response msg
debug[8:43:43,018]: search for elements by name 'script' in element #document
debug[8:43:43,018]: selectNodes found 1
debug[8:43:43,018]: <script> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf
debug[8:43:43,034]: Such element exist in document
debug[8:43:43,034]: search for elements by name 'link' in element #document
debug[8:43:43,034]: selectNodes found 2
debug[8:43:43,034]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:43,065]: Such element exist in document
debug[8:43:43,081]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:43,081]: Such element exist in document
debug[8:43:43,081]: Attempt to update part of page for Id: msg
debug[8:43:43,081]: call selectSingleNode for id= msg
debug[8:43:43,362]: Replace content of node by outerHTML()
error[8:43:43,362]: Error to clear node content by innerHTML Unbekannter Laufzeitfehler
debug[8:43:43,362]: search for elements by name 'script' in element table
debug[8:43:43,362]: selectNodes found 0
debug[8:43:43,378]: Scripts in updated part count : 0
debug[8:43:43,378]: call selectSingleNode for id= org.ajax4jsf.oncomplete
debug[8:43:43,378]: Update part of page for Id: msg successful
debug[8:43:43,378]: call selectSingleNode for id= ajax-view-state
debug[8:43:43,393]: Hidden JSF state fields:
debug[8:43:43,393]: Namespace for hidden view-state input fields is undefined
debug[8:43:43,393]: search for elements by name 'input' in element span
debug[8:43:43,393]: selectNodes found 1
debug[8:43:43,409]: Replace value for inputs: 3 by new values: 1
debug[8:43:43,409]: Input in response: javax.faces.ViewState
debug[8:43:43,409]: Found same input on page with type: hidden
debug[8:43:43,409]: Found same input on page with type: hidden
debug[8:43:43,409]: search for elements by name 'INPUT' in element span
debug[8:43:43,424]: selectNodes found 0
debug[8:43:43,424]: Replace value for inputs: 3 by new values: 0
debug[8:43:43,424]: call selectSingleNode for id= _A4J.AJAX.focus
debug[8:43:43,424]: No focus information in response
debug[8:43:45,909]: NEW AJAX REQUEST !!! with form :j_id2:_form
debug[8:43:45,909]: Append hidden control javax.faces.ViewState with value [j_id3] and
value attribute [j_id3]
debug[8:43:45,925]: parameter j_id2 with value j_id2
debug[8:43:45,925]: Start XmlHttpRequest
debug[8:43:45,925]: Reqest state : 1
debug[8:43:45,940]: QueryString:
AJAXREQUEST=_viewRoot&javax.faces.ViewState=j_id3&j_id2=j_id2&
debug[8:43:45,940]: Reqest state : 2
debug[8:43:45,956]: Reqest state : 3
debug[8:43:45,956]: Reqest state : 4
debug[8:43:45,956]: Reqest end with state 4
debug[8:43:45,956]: Response with content-type: text/xml;charset=UTF-8
debug[8:43:45,971]: Full response content: <html
xmlns="http://www.w3.org/1999/xhtml"><head><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><link
href="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf"
type="text/css" rel="stylesheet" class="component"
/><script
src="/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf"
type="text/javascript"></script></head><body><table
id="msg">
<thead><tr><th colspan="2"
scope="colgroup"><h2>Messags : </h2></th></tr>
</thead><tbody><tr><td>Message :</td><td>0 at Thu Apr
10 08:43:28 CEST 2008</td>
</tr><tr><td>Message :</td><td>1 at Thu Apr 10 08:43:38 CEST
2008</td></tr>
</tbody></table>
<meta name="Ajax-Update-Ids" content="msg" /><span
id="ajax-view-state"><input type="hidden"
name="javax.faces.ViewState" id="javax.faces.ViewState"
value="j_id3" /></span><meta id="Ajax-Response"
name="Ajax-Response" content="true" /></body></html>
debug[8:43:45,971]: Header Ajax-Expired not found, search in <meta>
debug[8:43:45,971]: search for elements by name 'meta' in element #document
debug[8:43:45,971]: selectNodes found 2
debug[8:43:45,987]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:45,987]: Find <meta name='Ajax-Response' content='true'>
debug[8:43:45,987]: Header Ajax-Update-Ids not found, search in <meta>
debug[8:43:45,987]: search for elements by name 'meta' in element #document
debug[8:43:46,003]: selectNodes found 2
debug[8:43:46,003]: Find <meta name='Ajax-Update-Ids'
content='msg'>
debug[8:43:46,003]: Update page by list of rendered areas from response msg
debug[8:43:46,003]: search for elements by name 'script' in element #document
debug[8:43:46,018]: selectNodes found 1
debug[8:43:46,018]: <script> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf
debug[8:43:46,018]: Such element exist in document
debug[8:43:46,018]: search for elements by name 'link' in element #document
debug[8:43:46,034]: selectNodes found 2
debug[8:43:46,034]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:46,034]: Such element exist in document
debug[8:43:46,034]: <link> in response with
src=/lvs_web_prototype/a4j_3_2_1-SNAPSHOTorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHrvMB4AgAFYgIj.jsf
debug[8:43:46,050]: Such element exist in document
debug[8:43:46,050]: Attempt to update part of page for Id: msg
debug[8:43:46,050]: call selectSingleNode for id= msg
debug[8:43:46,050]: Replace content of node by outerHTML()
error[8:43:46,065]: Error to clear node content by innerHTML Unbekannter Laufzeitfehler
debug[8:43:46,065]: search for elements by name 'script' in element table
debug[8:43:46,065]: selectNodes found 0
debug[8:43:46,065]: Scripts in updated part count : 0
debug[8:43:46,081]: call selectSingleNode for id= org.ajax4jsf.oncomplete
debug[8:43:46,081]: Update part of page for Id: msg successful
debug[8:43:46,081]: call selectSingleNode for id= ajax-view-state
debug[8:43:46,081]: Hidden JSF state fields:
debug[8:43:46,096]: Namespace for hidden view-state input fields is undefined
debug[8:43:46,096]: search for elements by name 'input' in element span
debug[8:43:46,096]: selectNodes found 1
debug[8:43:46,096]: Replace value for inputs: 3 by new values: 1
debug[8:43:46,096]: Input in response: javax.faces.ViewState
debug[8:43:46,112]: Found same input on page with type: hidden
debug[8:43:46,112]: Found same input on page with type: hidden
debug[8:43:46,112]: search for elements by name 'INPUT' in element span
debug[8:43:46,112]: selectNodes found 0
debug[8:43:46,128]: Replace value for inputs: 3 by new values: 0
debug[8:43:46,128]: call selectSingleNode for id= _A4J.AJAX.focus
debug[8:43:46,128]: No focus information in response
a4j:push ALWAYS (not only if event occurs) rerendering specified
components...
------------------------------------------------------------------------------
Key: RF-3013
URL:
http://jira.jboss.com/jira/browse/RF-3013
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0.SR1, 3.2.1
Environment: JDK 1.6
JBOSS 4.0.3 SP1
Facelets
JSF-RI
Reporter: Jens Behrens
Assigned To: Tsikhon Kuprevich
Priority: Critical
Fix For: 3.2.1
I tried the new classes from asmirnov, fixing the issue
http://jira.jboss.com/jira/browse/RF-2960
The eventProducer method is getting called now, but actually rerendering of specified
components is happening always and not only if an event occurs via onEvent method of the
listener...
The component has interval 3000, so every 3 seconds the msg component is rerendered
instead of checking if there actually is an event in queue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira