有谁有SSH动态树的例子啊?急用

来源:百度知道 编辑:UC知道 时间:2024/07/02 07:11:23
不知道有谁有SSH动态树的例子啊,急用,有的话,希望能发给我一下,我的qq:717172718 邮箱:luocheng_luocheng@163.com

struts2 有个tree标签,可以调用dojo生成一个ajax tree

<script type="text/javascript">
function treeNodeSelected(arg) {
alert(arg.source.title + ' selected');

}

dojo.addOnLoad(function() {
var s = dojo.widget.byId('parentId').selector;
dojo.event.connect(s, 'select', 'treeNodeSelected');
});
</script>

<s:tree label="Root"
id="parentId" theme="ajax" templateCssPath="/struts/tree.css"
showRootGrid="true" showGrid="true">
<s:treenode theme="ajax" label="用户管理" id="child1Id">
<s:treenode theme="ajax" label="登陆" id="grandchild1Id" value="jsp/login.jsp"/>
<s:treenode theme=&qu