<%@ page import="com.jenkov.prizetags.tree.impl.TreeNode,
                 com.jenkov.prizetags.tree.impl.Tree,
                 com.jenkov.prizetags.tree.itf.*" %>
<%@ page import="com.jenkov.prizetags.tree.impl.TreeSorter"%>
<%@ taglib uri="/WEB-INF/treetag.tld"     prefix="tree" %>
<%@ taglib uri="/WEB-INF/requesttags.tld" prefix="request" %>
<%@ taglib uri="/WEB-INF/ajaxtags.tld"    prefix="ajax" %>
<%@ taglib uri="/WEB-INF/templatetag.tld"    prefix="tmpl" %>

<%
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Pragma", "no-cache");
%>
<html>
<head>
    <title>Tree Tag - AJAX Tree - (C) 2006 Jenkov Development</title>
    <link rel="stylesheet" href="/prizetagsdemo/stylesheet.css" type="text/css">
</head>


<body>

<h2>AJAX Tree</h2>

<p>This page demonstrates how the Tree Tags can be used together with the AJAX Tags.</p>

<p>Only the left and right table cells are refreshed when you click links in the tree.
The rest of this page is left untouched.</p>


<br/><br/>


<script type="text/javascript" src="../ajax/jenkov_ajaxScript.js"></script>

<table cellspacing="0" cellpadding="5" style="border: 1 solid black;">

<tr><td id="treeCell"   valign="top"><tmpl:include uri="/tree/treeAjaxTree.jsp"/></td>
    <td id="detailCell" valign="top" style="border-left: 1 solid black;"><tmpl:include uri="/tree/treeAjaxDetail.jsp"/></td>
</tr>
</table>



</body>

</html>