You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mk...@apache.org on 2006/09/22 11:45:10 UTC
svn commit: r448877 - in /myfaces/tomahawk/trunk/core/src/site:
apt/tree2.apt site.xml xdoc/tree2.xml
Author: mkienenb
Date: Fri Sep 22 02:45:09 2006
New Revision: 448877
URL: http://svn.apache.org/viewvc?view=rev&rev=448877
Log:
TOMAHAWK-584 -- converted tree2 apt docs to xdoc.
Added:
myfaces/tomahawk/trunk/core/src/site/xdoc/tree2.xml (with props)
Removed:
myfaces/tomahawk/trunk/core/src/site/apt/tree2.apt
Modified:
myfaces/tomahawk/trunk/core/src/site/site.xml
Modified: myfaces/tomahawk/trunk/core/src/site/site.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/site/site.xml?view=diff&rev=448877&r1=448876&r2=448877
==============================================================================
--- myfaces/tomahawk/trunk/core/src/site/site.xml (original)
+++ myfaces/tomahawk/trunk/core/src/site/site.xml Fri Sep 22 02:45:09 2006
@@ -48,6 +48,7 @@
<item name="Html Tag" href="htmlTag.html"/>
<item name="Data List" href="dataList.html"/>
<item name="Tree" href="tree.html"/>
+ <item name="Tree2" href="tree2.html"/>
<item name="Tree Table" href="treeTable.html"/>
<item name="Panel Stack" href="panelStack.html"/>
<item name="Style Sheet" href="stylesheet.html"/>
Added: myfaces/tomahawk/trunk/core/src/site/xdoc/tree2.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/site/xdoc/tree2.xml?view=auto&rev=448877
==============================================================================
--- myfaces/tomahawk/trunk/core/src/site/xdoc/tree2.xml (added)
+++ myfaces/tomahawk/trunk/core/src/site/xdoc/tree2.xml Fri Sep 22 02:45:09 2006
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"
+"http://maven.apache.org/dtd/maven-xdoc.dtd">
+<!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+-->
+<document>
+ <body>
+ <!-- Description -->
+
+ <section name="Description">
+ <p>A component that provides an HTML-based tree from data supplied by a
+ backing bean. The tree is highly customizable and allows for
+ fine-grained control over the appearance of each of the nodes depending
+ on their type. Almost any type of JSF component (text, image, checkbox,
+ etc.) can be rendered inside the nodes and there is an option for
+ client-side or server-side toggling of the expand/collapse state.</p>
+ </section>
+
+ <!-- screen shot -->
+
+ <section name="Screen Shot">
+ <div><img src="images/tree2.jpeg" alt="tree2.jpeg"/></div>
+
+
+ <!-- replace with either a figure or Not Available -->
+
+ <!--
+ <figure src="jscookmenu.png" alt="jscookmenu"/>
+ -->
+ </section>
+
+ <!-- API -->
+
+ <section name="API">
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">component-family</td>
+
+ <td colspan="1" rowspan="1">org.apache.myfaces.HtmlTree</td>
+ </tr>
+
+ <tr>
+ <td colspan="1" rowspan="1">renderer-type</td>
+
+ <td colspan="1" rowspan="1">org.apache.myfaces.Tree</td>
+ </tr>
+
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+
+ <td colspan="1"
+ rowspan="1">org.apache.myfaces.custom.tree2.HtmlTree</td>
+ </tr>
+
+ <tr>
+ <td colspan="1" rowspan="1">renderer-class</td>
+
+ <td colspan="1"
+ rowspan="1">org.apache.myfaces.custom.tree2.HtmlTreeRenderer</td>
+ </tr>
+
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+
+ <td colspan="1"
+ rowspan="1">org.apache.myfaces.custom.tree2.TreeTag</td>
+ </tr>
+ </table>
+ </section>
+
+ <!-- Usage -->
+
+ <section name="Usage">
+ <p>See the <a href="http://people.apache.org/builds/myfaces/nightly/">Tomahawk Examples.</a></p>
+ <source xml:space="preserve"><![CDATA[]]></source>
+ </section>
+
+ <!-- Syntax -->
+
+ <section name="Syntax">
+ <p>
+ See the <a href="http://myfaces.apache.org/tomahawk/tagreference.html#tree2">Tag Reference.</a>
+ </p>
+
+ <blockquote>
+ <h3><t:[TODO]/></h3>
+
+ <!-- ex. for="reference to UIData" -->
+
+ <code>[TODO] - [TODO]</code>
+
+ <br />
+ </blockquote>
+ </section>
+
+ <!-- Instructions -->
+
+ <section name="Instructions">
+ <p>[pending]</p>
+ </section>
+
+ <!-- Additional Information -->
+
+ <section name="Additional Information">
+ <p>See the <a href="http://wiki.apache.org/myfaces/Tree2">MyFaces Wiki.</a></p>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core/src/site/xdoc/tree2.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core/src/site/xdoc/tree2.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL