<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://rcfaces.org/core" prefix="v"%>
<%@ taglib uri="http://rcfaces.org/html" prefix="vh"%>
<f:view>
	<html>
		<head>
			<vh:init />
		</head>
		<body>
			<h:form id="myForm">
					<h1>Tree -Example</h1>
					<br/>				
						<table>
					<tr>
						<td>
						
							<v:tree id="myTree" 
									width="200" 
									height="250"
									defaultImageURL="images/docs.gif" 
									defaultExpandedImageURL="#{treeDemo.imageURL}" 
									preloadedLevelDepth="2" >
								<f:selectItems value="#{treeDemo.servers}" />
							</v:tree>
						</td>
					</tr>
				</table>				
				<hr />
			</h:form> 		
		</body>
	</html>
</f:view> 
