The doc for this one is in the wiki, but not in forrest...
here is a svn forrest patch to add the missing docs...
Index: C:/eclipse/workspace2/current/forrest/content/xdocs/site.xml
===================================================================
--- C:/eclipse/workspace2/current/forrest/content/xdocs/site.xml
(revision 263907)
+++ C:/eclipse/workspace2/current/forrest/content/xdocs/site.xml
(working copy)
@@ -106,6 +106,7 @@
<tree2 label="Tree2" href="tree2.html"/>
<newspaperTable label="Newspaper Table" href="newspaperTable.html"/>
<aliasBean label="Alias Bean" href="aliasBean.html"/>
+ <aliasBeansScope label="Alias Beans Scope"
href="aliasBeansScope.html"/>
<Buffer label="Buffer" href="buffer.html"/>
<fileUpload label="File Upload" href="fileUpload.html"/>
<tabbedPane label="TabbedPane" href="tabbedPane.html"/>
Index:
C:/eclipse/workspace2/current/forrest/content/xdocs/tomahawk/aliasBeansScope.xml
===================================================================
---
C:/eclipse/workspace2/current/forrest/content/xdocs/tomahawk/aliasBeansScope.xml
(revision 0)
+++
C:/eclipse/workspace2/current/forrest/content/xdocs/tomahawk/aliasBeansScope.xml
(revision 0)
@@ -0,0 +1,98 @@
+<?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>
+ <title>Alias Bean Scope</title>
+ <subtitle><t:aliasBeansScope/></subtitle>
+ </header>
+ <body>
+ <!-- Description -->
+ <section>
+ <title>Description</title>
+ <p>A tag which allows the combination of more than one alias beans
under one alias</p>
+ <p>
+ This tag allows the combination of more than one alias
beans under one common scope. Before
+ 1.0.10 a nesting of alias beans had to be used to make
more than one alias bean
+ accessible from one page template. By the introduction
of this tag this problem
+ has been relieved.
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section>
+ <title>Screen Shot</title>
+ <p>Not Available</p> <!-- replace with either a figure or Not
Available -->
+ <!--
+ <figure src="jscookmenu.png" alt="jscookmenu"/>
+ -->
+ </section>
+ <!-- API -->
+ <section>
+ <title>API</title>
+ <table>
+ <tr>
+ <td>component-family</td>
+ <td>javax.faces.Data</td>
+ </tr>
+ <tr>
+ <td>renderer-type</td>
+ <td>org.apache.myfaces.AliasBeansScope</td>
+ </tr>
+ <tr>
+ <td>component-class</td>
+
<td>org.apache.myfaces.custom.aliasbean.AliasBeansScope</td>
+ </tr>
+ <tr>
+ <td>renderer-class</td>
+
<td>org.apache.myfaces.custom.aliasbean.AliasBeansScopeRenderer</td>
+ </tr>
+ <tr>
+ <td>tag-class</td>
+
<td>org.apache.myfaces.custom.aliasbean.AliasBeansScopeTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section>
+ <title>Usage</title>
+ <source>
+<t:aliasBeansScope id="alias" >
+ <t:aliasBean alias="#{holder1}" value="#{aliasTest1}">
+ <t:aliasBean alias="#{holder2}" value="#{aliasTest2}">
+ <f:subview id="simulatedIncludedSubform1">
+ <h:outputLabel for="name" value="Name :"/>
+ <h:inputText id="name" value="#{holder1.name}"/>
+ <h:outputLabel for="name2" value="Name2 :"/>
+ <h:inputText id="name2" value="#{holder2.name}"/>
+ </f:subview>
+ </t:aliasBean>
+ </t:aliasBean>
+</t:aliasBeansScope >
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section>
+ <title>Syntax</title>
+ <note label="<t:aliasBeansScope/>">
+ <code>id - the given id for the scope (not
mandatory)</code><br/>
+ <br/>
+ </note>
+ </section>
+ <!-- Instructions -->
+ <section>
+ <title>Instructions</title>
+ <p>see examples/aliasBean.jsp for an example!</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>