You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by to...@apache.org on 2005/11/11 14:47:17 UTC
svn commit: r332550 - in /myfaces/forrest/trunk: content/xdocs/site.xml
content/xdocs/tomahawk/panelNavigation2.xml
resources/images/panelnavigation2.png
Author: tomsp
Date: Fri Nov 11 05:47:08 2005
New Revision: 332550
URL: http://svn.apache.org/viewcvs?rev=332550&view=rev
Log:
description for panelNavigation2
Added:
myfaces/forrest/trunk/content/xdocs/tomahawk/panelNavigation2.xml
myfaces/forrest/trunk/resources/images/panelnavigation2.png (with props)
Modified:
myfaces/forrest/trunk/content/xdocs/site.xml
Modified: myfaces/forrest/trunk/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/site.xml?rev=332550&r1=332549&r2=332550&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/site.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/site.xml Fri Nov 11 05:47:08 2005
@@ -125,6 +125,7 @@
<dataScroller label="Data Scroller" href="dataScroller.html"/>
<extDataTable label="Extended Data Table" href="extDataTable.html"/>
<panelNavigation label="Panel Navigation" href="panelNavigation.html"/>
+ <panelNavigation2 label="Panel Navigation 2" href="panelNavigation2.html"/>
<uiSaveState label="UI Save State" href="uiSaveState.html"/>
<columns label="Columns" href="columns.html"/>
<column label="Column" href="column.html"/>
Added: myfaces/forrest/trunk/content/xdocs/tomahawk/panelNavigation2.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/tomahawk/panelNavigation2.xml?rev=332550&view=auto
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/tomahawk/panelNavigation2.xml (added)
+++ myfaces/forrest/trunk/content/xdocs/tomahawk/panelNavigation2.xml Fri Nov 11 05:47:08 2005
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
+
+<!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+-->
+<document>
+ <!-- component name -->
+ <header>
+ <!-- ex. JSCook Menu -->
+ <title>Panel Navigation2</title>
+ <!-- ex. <t:jsCookMenu> -->
+ <subtitle><t:panelNavigation2/></subtitle>
+ </header>
+ <body>
+ <!-- Description -->
+ <section>
+ <title>Description</title>
+ <p>
+ PanelNavigation2 is the successor of PanelNavigation.
+ The menu is rendered as unordered List instead of a Table. Morever the menu-tree
+ can be dynamically build using NavigationMenuItem(s). If you want to explore
+ the features of panelNavigation2 visit the <a href="http://www.irian.at/myfaces/home.jsf">MyFaces Examples online</a>.
+ </p>
+ <p>
+ Many thanks to Swiss Federal Institute of Intellectual Property & Marc Bouquet
+ for helping to develop this component.
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section>
+ <title>Screen Shot</title>
+ <figure src="images/panelnavigation2.png" alt="panelnavigation2"/>
+ </section>
+ <!-- API -->
+ <section>
+ <title>API</title>
+ <table>
+ <tr>
+ <td>since</td>
+ <td>0.1.0 (former <t:navigation>)</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>MyFaces Team</td>
+ </tr>
+ <tr>
+ <td>component-family</td>
+ <td>javax.faces.Panel</td>
+ </tr>
+ <tr>
+ <td>renderer-type</td>
+ <td>org.apache.myfaces.NavigationMenu</td>
+ </tr>
+ <tr>
+ <td>component-class</td>
+ <td>org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu</td>
+ </tr>
+ <tr>
+ <td>renderer-class</td>
+ <td>org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer</td>
+ </tr>
+ <tr>
+ <td>tag-class</td>
+ <td>org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenuTag</td>
+ </tr>
+ </table>
+ </section>
+
+ <!-- Usage -->
+ <section>
+ <title>Usage</title>
+ <source>
+<t:panelNavigation2 [ standard HTML table attributes ]
+ [itemClass="normal-menu-item-css-class"]
+ [openItemClass="open-menu-item-css-class"]
+ [activeItemClass="active-menu-item-css-class"]
+ [separatorClass="separator-css-class"]
+ [itemStyle="normal-menu-item-css-style"]
+ [openItemStyle="open-menu-item-css-style"]
+ [activeItemStyle="active-menu-item-css-style"]
+ [separatorStyle="separator-css-style"]>
+ Nested <t:commandNavigation2> tags (menu items) and output components
+ <t:navigationMenuItem> tags (NavigationMenuItem)
+ <t:navigationMenuItems> tags (NavigationMenuItem(s))
+ </t:panelNavigation>
+ </source>
+ </section>
+
+ <!-- Syntax -->
+ <section>
+ <title>Syntax</title>
+ <note label="<t:panelNavigation2>">
+ <code>[ standard HTML table attributes ]</code><br/>
+ <code>[itemClass="normal-menu-item-css-class"]</code><br/>
+ <code>[openItemClass="open-menu-item-css-class"]</code><br/>
+ <code>[activeItemClass="active-menu-item-css-class"]</code><br/>
+ <code>[separatorClass="separator-css-class"]</code><br/>
+ <code>[itemStyle="normal-menu-item-css-style"]</code><br/>
+ <code>[openItemStyle="open-menu-item-css-style"]</code><br/>
+ <code>[activeItemStyle="active-menu-item-css-style"]</code><br/>
+ <code>[separatorStyle="separator-css-style"]</code><br/>
+ </note>
+ </section>
+
+ <!-- Instructions -->
+ <section>
+ <title>Instructions</title>
+ <p>
+ See <a href="http://www.irian.at/myfaces/home.jsf">PanelNavigation Examples</a>.
+ </p>
+ </section>
+
+ </body>
+ <footer>
+ <legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.<br />
+ © 2004 - 2005, Apache Software Foundation
+ </legal>
+ </footer>
+
+</document>
Added: myfaces/forrest/trunk/resources/images/panelnavigation2.png
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/panelnavigation2.png?rev=332550&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/panelnavigation2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream