A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/739.html
Document ID: 739
Branch: main
Language: default
Name: Tree widget (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 5/17/06 1:43:57 PM
Updated by: Bruno Dumon
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 6799 bytes (previous version: 6663 bytes)
Content diff:
(33 equal lines skipped)
<h1>The tree model</h1>
<p>See the interface
--- <a
href="javadoc:org.apache.cocoon.forms.formmodel.tree.TreeModel">TreeModel</a>.
+++ <a
href="http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/forms/formmodel/tree/TreeModel.html">TreeModel</a>.
Essentially, can be a tree of any sort of objects (there is no interface
for the
nodes in the tree). Each parent node should be able to identify its children
uniquely by means of a key (some string).</p>
(48 equal lines skipped)
</pre>
<p>whereby the class attribute specifies a class implementing
--- <a
href="javadoc:org.apache.cocoon.forms.formmodel.tree.TreeModel">TreeModel</a>.
+++ <a
href="http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/forms/formmodel/tree/TreeModel.html">TreeModel</a>.
The class can implement Avalon interfaces to get the Logger, ServiceManager
and
Context.</p>
(56 equal lines skipped)
available in the template of each widget.</li>
<li><tt>treeNode</tt>, provides access to the current tree node being
rendered.
More specifically it is a
--- <a
href="javadoc:org.apache.cocoon.forms.formmodel.tree.TreeWalker">TreeWalker</a>
+++ <a
href="http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/forms/formmodel/tree/TreeWalker.html">TreeWalker</a>
instance. Its <tt>node</tt> property gives access to the actual tree
node.</li>
</ul>
(31 equal lines skipped)
<h1>API notes</h1>
--- <p>See the <a href="javadoc:org.apache.cocoon.forms.formmodel.tree.Tree">API
+++ <p>See the
+++ <a
href="http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/forms/formmodel/tree/Tree.html">API
docs of the tree widgets</a> for more information on how to access e.g. the
selected nodes.</p>
(2 equal lines skipped)
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes