Categories | Question details Back To List | ||
dhtmlxTabbar with action I am trying to use dhtmlxTabbar with struts action, but it is giving me an error. Following is the piece of my code. Please let me know how to use dhtmlxTabbar with jsp ? <div id="a_tabbar" style="width:700;height:300"></div> <script> tabbar=new dhtmlXTabBar("a_tabbar","top"); tabbar.setImagePath("imgs/"); tabbar.loadXML("tabs1.xml"); </script> <?xml version="1.0"?> <tabbar hrefmode="ajax"> <row> <tab id="b1" width='100px' selected="1" href="HomePage.do?">Home</tab> <tab id="b2" width='100px' href="action2.do?">PRODUCTS</tab> <tab id="b3" width='100px' href="action3.do?">REPORTS</tab> <tab id="b4" width='100px' href="action4.do?">DATA</tab> <tab id="b5" width='100px' href="action5.do?">REF</tab> <tab id="b6" width='100px' href="action6.do?">SEARCH</tab> <tab id="b7" width='100px' href="SystemAdministration.do">SYSTEM MAINTENANCE</tab> </row> </tabbar> Thanks Answer posted on Oct 12, 2007 18:55 If you JSP code returns content without strict XML structure you need to use <tabbar hrefmode="ajax-html"> Actually ajax mode maintained only for backward compatibility now, ajax-html mode can do all the same, without necessety to format output in any special way. If problem still occurs for you - please provide info about error which occurs |