dhtmlXMenuBarObject is not defined

Hi

I am working onDHTMLX tree/ menu



I got the following error



dhtmlXMenuBarObject is not defined

dhtmlXContextMenuObject(“120”, 0, “Demo Menu”, undefined)dhtmlXMenuBar_cp… (line 8)

loadTree()testDhtmlx.jsp (line 73)

onload(load )testDhtmlx.jsp (line 1)

[Break on this error] this.menu=new dhtmlXMenuBarObject(document.body,width,height,"",1,gfxPath,https.



my jsp page is



<%@ page language=“java” import=“java.util." pageEncoding=“ISO-8859-1”%>













Tree Test













































    

    

<!— update Size —>









    








    






        

            

                

                

                

            

        


                    


                        <div id=“a_tabbar”

                            class=“dhtmlxTabBar”

                            tabstyle=“scbr”

                            tabheight=“28”

                            imgpath="…/imgs/"

                            style=“width: 400px; height: 100%;”

                            

                            mode=“left”

                            offset=“3”

                            oninit=“a_tabbar.setTabActive(type+‘tab’)”

                            select=“doctab”>

                                


                                    


                                

                        


                    

                


                

                


                    

                


    


        

    










Thanks

To prevent problem, just reorder JS files as


















I tried reordereing js files in the way you have metioned  but I got new error
as follows

this.topNod.style has no properties
setOnShowHandler()dhtmlXProtobar.js (line 9)
dhtmlXMenuBarObject(body, “120”, 0, “”, 1, “Edit Menu”, undefined)dhtmlXMenuBar.js (line 88)
dhtmlXContextMenuObject(“120”, 0, “Edit Menu”, undefined)dhtmlXMenuBar_cp… (line 8)
loadTree()testDhtmlx.jsp (line 68)
onload(load )testDhtmlx.jsp (line 1)
function dhtmlXProtobarObject(){return this};dhtmlXProtobarObject.prototype.set…

Thanks


Also I got this error

this.parentObject has no properties
_createSelf()dhtmlxtree.js (line 832)
dhtmlXTreeObject(“smpltree_box”, “100%”, “100%”, 0)dhtmlxtree.js (line 152)
loadTreeSmpl()testDhtmlx.jsp (line 118)
onload(load )testDhtmlx.jsp (line 1)
this.parentObject.appendChild(div);