Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Marvin Elder on Aug 08, 2008 13:19
open dhtmlx forum
work with jsp

Do dhtmlx components work with JSPs?

I tried to generate a jsp that loaded an xml Tree file, and got a data structure error.
I can use one of your dhtmlx demo html files and load the xml tree file just fine.

Answer posted by Support on Aug 11, 2008 03:23
Please be sure that structure of XML correct and it has been sent as Content-type:text/xml header.
If you receive an Incorrect XML error - please check 
         http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Common_Problems_in_Grid.html#grid_art_comprob
If you recevies only "Data structure incorrect" incorrect error -check the top tag of generated XML
   <tree id="0">
id attribute must point to the super-root item ID ( can be set as 4th parameter of constructor, 0 by default )