Categories | Question details Back To List | ||
dhtmlxtree FF reload problem Hello I have a problem with dhtmlxtree in firefox. The tree are buil in one page and the page are included in an iframe. when i load the page i get those error: Error type: LoadXML Description: Incorrect XML but the tree are loaded correctly in iframe. In IE work fine. Is a firefox iframe problem? Answer posted by Support on Dec 03, 2008 02:26 Actually the loading page in iframe must not change behavior of code ( iframe is a new window instance, so from components perspective , it is the same as loading from main window ) It possible that because of some path problems components loading incorrect data in problematic case, please try to use debug version of dhtmlxcommon.js and check which file and with which content loaded in problematic case. http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=2545&ssr=yes&s=dhtmlxcommon Answer posted by Alberto on Dec 03, 2008 03:30 Ok, with the debug version of common.js the problem is that in FF the xml is loaded 2 time, in IE no. The first time xml is ok but the xml error occurs, the second time is all ok Xml result: <?xml version="1.0" encoding="iso-8859-1"?><tree id="0"><item text=" F16Viper (C1)" child="3" id="DXAnaCasa.1" im0="tree/admin/ico_casa.gif" im1="tree/admin/ico_casa.gif" im2="tree/admin/ico_casa.gif"><userdata name="url">casa.php?azione=show&casaID=1</userdata></item><item text=" Raptor (C3)" child="178" id="DXAnaCasa.3" im0="tree/admin/ico_casa.gif" im1="tree/admin/ico_casa.gif" im2="tree/admin/ico_casa.gif"><userdata name="url">casa.php?azione=show&casaID=3</userdata></item></tree> Answer posted by Support on Dec 04, 2008 04:30 The component can't initiate data loading on its own, so situation with double calls must be caused by some specific code used in tree's initializaton. Please provide a code snippet or any kind of sample where issue can be reconstructed ( you can send it directly to support@dhtmlx.com ) |