Hi,
I’m using the free version of DhtmlXTree and Java (struts 1.1).
In my program, I’m using AJAX to refresh some parts of the web page and some are containing a DX Tree.
Under IE6 and Firefox, this works perfectly, but under IE7, the tree don’t show up without returning any javascript error.
That’s hard to make a working example without the entire (big) project files,but the simplest jsp containing a tree is as following:
[code]<%@ page contentType=“text/html;charset=UTF-8”%>
<%@ taglib uri=“http://jakarta.apache.org/struts/tags-logic” prefix=“logic”%>
<%@ taglib uri=“http://jakarta.apache.org/struts/tags-html” prefix=“html” %>
<%@ taglib uri=“http://jakarta.apache.org/struts/tags-bean” prefix=“bean” %>
<%@ taglib uri=“http://jakarta.apache.org/struts/tags-tiles” prefix=“tiles” %>
<html:form onsubmit=“return false;” action=“/tree” name=“TreeForm” type=“fr.myorg.myapp.view.common.tree.TreeForm” scope=“session”>
The page is called via an ajax call to a struts action ( tree.do)
The block output is as following (firefox - view generated source code)
[code]
|
Afficher toutes les activités