标签tree使用
<head>
<s:headtheme="ajax"/>
</head><body>
<s:treelabel="计算机图书"theme="ajax"id="book"showGrid="true"
showRootGrid="true"treeSelectedTopic="treeselected">
<s:treenodetheme="ajax"label="李刚"id="ligang">
<s:treenodetheme="ajax"label="Jspstudy"id="jsp"></s:treenode>
<s:treenodetheme="ajax"label="javastudy"id="java"></s:treenode>
<s:treenodetheme="ajax"label="phpstudy"id="php"></s:treenode>
</s:treenode>
<s:treenodetheme="ajax"label="张三"id="zhangsan">
<s:treenodetheme="ajax"label="teststudy"id="test1"></s:treenode>
<s:treenodetheme="ajax"label="teststudy"id="test2"></s:treenode>
<s:treenodetheme="ajax"label="teststudy"id="test3"></s:treenode>
</s:treenode>
<s:treenodetheme="ajax"label="李四"id="lisi">
<s:treenodetheme="ajax"label="Jspstudy"id="test4"></s:treenode>
<s:treenodetheme="ajax"label="javastudy"id="test5"></s:treenode>
<s:treenodetheme="ajax"label="phpstudy"id="test6"></s:treenode>
</s:treenode>
</s:tree>
相关推荐
结束数据方法的参数,该如何定义?-- 集合为自定义实体类中的结合属性,有几个实体类,改变下标就行了。<input id="add" type="button" value="新增visitor&quo