<%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%> <%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%> <%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%> overrideTwo.jsp

HomeoverrideTwo.jsp [goOverrideTwo.do]

CreationStatic
tree{pageFlow.tree18}
actionpostback
runAtClientfalse
selectionClasstreeSelected
disabledClasstreeDisabled
treeClasstreeStyle

Tree Postback Information

Expand:
Selection:
Action:
In this example, we use the treePropertyOverride on the root treeItem to set a different selection action than the expansion action set on the tree tag. This is how you can create two actions, one for expansion and one for selection on a tree.
0 [2] 0.0 [2] 0.0.0 [2] 0.0.0.0[2] 0.0.0.1 [3] 0.0.0.2 [2] 0.1 [2] 0.1.0 [2] 0.1.1 [2] 0.2 [2] 0.2.0 [2] 0.2.1 [2] 0.2 [2]