]
Alexander Smirnov commented on RF-2737:
---------------------------------------
Firefox implementation of the XMLHttpRequest can't find element by id without XHTML
xmlns namespace.
Only possible solution - create own implementation for a getElementById in the response
XML
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: Alexander Smirnov
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: