[richfaces-issues] [JBoss JIRA] Reopened: (RF-2737) FastHtmlParser: node not found in response

Maksim Kaszynski (JIRA) jira-events at lists.jboss.org
Thu Mar 27 06:14:40 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-2737?page=all ]

Maksim Kaszynski reopened RF-2737:
----------------------------------

      Assignee: Nick Belaevski  (was: Alexander Smirnov)
             
It works for the first time but doesn't work for second update of the same element.
Newly imported nodes are not searched by getElementById.
Probably, use XPath instead document.getElementById for PAGE as well?

First click on commandButton

debug[12:06:42,055]: Attempt to update part of page for Id: formID:richGridID
debug[12:06:42,056]: call XMLDocument.evaluate for id= formID:richGridID
debug[12:06:42,060]: Replace content of node by replaceChild()
debug[12:06:42,062]: search for elements by name 'script' in element table
debug[12:06:42,068]: getElementsByTagName found 0
debug[12:06:42,069]: Scripts in updated part count : 0
debug[12:06:42,070]: call XMLDocument.evaluate for id= org.ajax4jsf.oncomplete
debug[12:06:42,071]: Update part of page for Id: formID:richGridID successful

Second click

Attempt to update part of page for Id: formID:richGridID
debug[12:07:24,208]: call XMLDocument.evaluate for id= formID:richGridID
warn[12:07:24,210]: Node for replace by response with id formID:richGridID not found in document


> FastHtmlParser: node not found in response
> ------------------------------------------
>
>                 Key: RF-2737
>                 URL: http://jira.jboss.com/jira/browse/RF-2737
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>         Environment: FF 2
>            Reporter: Nick Belaevski
>         Assigned To: Nick Belaevski
>            Priority: Critical
>             Fix For: 3.2.0
>
>         Attachments: Rich.jsp
>
>
> Click button, then click context menu item. Log:
> debug[22:31:55,740]: Start XmlHttpRequest
> debug[22:31:55,741]: Reqest state : 1
> debug[22:31:55,742]: QueryString: AJAXREQUEST=j_id_id8&j_id_id25=j_id_id25&j_id_id25%3Apanels=&javax.faces.ViewState=j_id1&j_id_id25%3Aj_id_id31=j_id_id25%3Aj_id_id31&
> debug[22:31:55,742]: Reqest state : 1
> debug[22:31:55,787]: Reqest state : 2
> debug[22:31:55,790]: Reqest state : 3
> debug[22:31:55,791]: Reqest state : 4
> debug[22:31:55,791]: Reqest end with state 4
> debug[22:31:55,792]: Response with content-type: text/xml; charset=utf-8
> debug[22:31:55,793]: Full response content: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head><link rel='stylesheet' class='component' type='text/css' href='/jsp/a4j_3_2_0-SNAPSHOTcss/menucomponents.xcss/DATB/eAGbEWwsDQAD3gE6.jsf' /><script type='text/javascript' src='/jsp/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf'></script><script type='text/javascript' src='/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/jquery/jquery.js.jsf'></script><script type='text/javascript' src='/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/script/controlUtils.js.jsf'></script><script type='text/javascript' src='/jsp/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.PrototypeScript.jsf'></script><script type='text/javascript' src='/jsp/a4j_3_2_0-SNAPSHOTscripts/menu.js.jsf'></script><script type='text/javascript' src='/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/json/json-dom.js.jsf'></script><script type='text/javascript' src='/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/utils.js.jsf'></script><script type='text/javascript' src='/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/context-menu.js.jsf'></script><script type='text/javascript' src='/jsp/a4j_3_2_0-SNAPSHOTorg/ajax4jsf/javascript/scripts/form.js.jsf'></script><script type='text/javascript' src='/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/form.js.jsf'></script></head><input id="j_id_id25:panels" type="text" name="j_id_id25:panels" value="" /><meta name="Ajax-Update-Ids" content="j_id_id25:panels" /><span id="ajax-view-state"><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id1" /></span><meta id="Ajax-Response" name="Ajax-Response" content="true" /> </html>
> debug[22:31:55,794]: Header Ajax-Expired not found, search in <meta>
> debug[22:31:55,795]: search for elements by name 'meta' in element #document
> debug[22:31:55,803]: getElementsByTagName found 2
> debug[22:31:55,804]: Find <meta name='Ajax-Update-Ids' content='j_id_id25:panels'>
> debug[22:31:55,805]: Find <meta name='Ajax-Response' content='true'>
> debug[22:31:55,806]: Header Ajax-Update-Ids not found, search in <meta>
> debug[22:31:55,806]: search for elements by name 'meta' in element #document
> debug[22:31:55,814]: getElementsByTagName found 2
> debug[22:31:55,815]: Find <meta name='Ajax-Update-Ids' content='j_id_id25:panels'>
> debug[22:31:55,816]: Update page by list of rendered areas from response j_id_id25:panels
> debug[22:31:55,817]: search for elements by name 'script' in element #document
> debug[22:31:55,827]: getElementsByTagName found 10
> debug[22:31:55,828]: <script> in response with src=/jsp/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf
> debug[22:31:55,829]: Such element exist in document
> debug[22:31:55,830]: <script> in response with src=/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/jquery/jquery.js.jsf
> debug[22:31:55,830]: Such element exist in document
> debug[22:31:55,831]: <script> in response with src=/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/script/controlUtils.js.jsf
> debug[22:31:55,832]: Such element exist in document
> debug[22:31:55,833]: <script> in response with src=/jsp/a4j_3_2_0-SNAPSHOTorg.ajax4jsf.javascript.PrototypeScript.jsf
> debug[22:31:55,833]: Such element exist in document
> debug[22:31:55,834]: <script> in response with src=/jsp/a4j_3_2_0-SNAPSHOTscripts/menu.js.jsf
> debug[22:31:55,835]: Such element exist in document
> debug[22:31:55,836]: <script> in response with src=/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/json/json-dom.js.jsf
> debug[22:31:55,837]: Such element exist in document
> debug[22:31:55,837]: <script> in response with src=/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/utils.js.jsf
> debug[22:31:55,838]: Such element exist in document
> debug[22:31:55,839]: <script> in response with src=/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/context-menu.js.jsf
> debug[22:31:55,840]: Such element exist in document
> debug[22:31:55,841]: <script> in response with src=/jsp/a4j_3_2_0-SNAPSHOTorg/ajax4jsf/javascript/scripts/form.js.jsf
> debug[22:31:55,842]: Such element exist in document
> debug[22:31:55,843]: <script> in response with src=/jsp/a4j_3_2_0-SNAPSHOTorg/richfaces/renderkit/html/scripts/form.js.jsf
> debug[22:31:55,844]: Such element exist in document
> debug[22:31:55,845]: search for elements by name 'link' in element #document
> debug[22:31:55,855]: getElementsByTagName found 1
> debug[22:31:55,857]: <link> in response with src=/jsp/a4j_3_2_0-SNAPSHOTcss/menucomponents.xcss/DATB/eAGbEWwsDQAD3gE6.jsf
> debug[22:31:55,857]: Such element exist in document
> debug[22:31:55,858]: Attempt to update part of page for Id: j_id_id25:panels
> debug[22:31:57,700]: call getElementById for id= j_id_id25:panels
> error[22:31:57,701]: New node for ID j_id_id25:panels is not present in response
> debug[22:31:57,701]: call getElementById for id= ajax-view-state
> debug[22:31:57,702]: Hidden JSF state fields: null
> debug[22:31:57,703]: call getElementById for id= _A4J.AJAX.focus
> debug[22:31:57,703]: No focus information in response

-- 
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

       




More information about the richfaces-issues mailing list