blob: e4cce1bfbec347e7c1302957d49a13ac9c46d8ce [file] [log] [blame]
<!-- generated by Spindle, http://spindle.sourceforge.net -->
<span jwcid="@Border">
<h2>Contrib Tree Component Examples</h2>
<p>
<font color="red">NOTE: The Tree currently displays your full file system.<br>
You can change the root of the displayed folders by setting the TreeRootDir parameter in the web.xml file.
<br>Example:
<br>
&lt;init-param&gt;
<br>&nbsp;&nbsp; &lt;param-name&gt;TreeRootDir&lt;/param-name&gt;
<br>&nbsp;&nbsp; &lt;param-value&gt;/var/www/virtual/webapps/workbench&lt;/param-value&gt;
<br>&lt;/init-param&gt;
</font>
<p>
There are 2 major components in the tree package.
<p>The first one is called just a Tree. This components render the node views and divided the rows by inserting the HTML tag BR.
<br><a jwcid="@PageLink" page="FileSystemTree">Here</a> you can test the simple file system demo - file explorer.
<p>The second one is called TreeTable. It use Contrib:Table to render the rows with expanded tree nodes.
You could pass additional table columns to the TreeTable as parameters.
<br><a jwcid="@PageLink" page="FileSystemTableTree">Here</a> you can test the simple file system demo - file explorer.
</span>