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

Nested Tree with RunAtClient Tree

This test sets the TagId on both a tree and an item within it then accesses those nodes through the JavaScript lookup methods.

Clear Tree 
Item-PageOne Item-PageTwo Item-PageThree Item-PageOne Item-PageTwo Item-PageThree

Below we access the tree and item using the lookup method.

var p = document.getElementById("javaOut"); var s = document.getElementById("scopeOneSpan"); var val = "Document Access
"; val = val + "Tree by id is null: " + (document.getElementById(lookupIdByTagId("tree",s)) == null) + "
"; val = val + "Item by id is null: " + (document.getElementById(lookupIdByTagId("item",s)) == null) + "
"; p.innerHTML = val;