myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r209764 - in /myfaces/forrest/trunk/content/xdocs/components: aliasBean.xml buffer.xml
Date Fri, 08 Jul 2005 13:19:51 GMT
Author: mmarinschek
Date: Fri Jul  8 06:19:49 2005
New Revision: 209764

URL: http://svn.apache.org/viewcvs?rev=209764&view=rev
Log: (empty)

Modified:
    myfaces/forrest/trunk/content/xdocs/components/aliasBean.xml
    myfaces/forrest/trunk/content/xdocs/components/buffer.xml

Modified: myfaces/forrest/trunk/content/xdocs/components/aliasBean.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/aliasBean.xml?rev=209764&r1=209763&r2=209764&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/aliasBean.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/aliasBean.xml Fri Jul  8 06:19:49 2005
@@ -16,13 +16,18 @@
         <section>
             <title>Description</title>
             <p>
-                [TO DO]
+                A tag that defines a new bean (alias) with a given value.
+                This allows you to design a subform with a generic (fictive) beans and to
include it in all the pages where you use it.
+			    You just need to make an alias to the real bean named after the generic bean before
including the subform.
+
+			    When used within an aliasBeansScope tag, this tag adds the alias to the aliasBeansScope.
+			    This makes configuration with multiple aliasBeans easier to write.
             </p>
         </section>
         <!-- screen shot -->
         <section>
             <title>Screen Shot</title>
-            <p>[TO DO]</p> <!-- replace with either a figure or Not Available
-->
+            <p>Not Available</p> <!-- replace with either a figure or Not
Available -->
             <!--
             <figure src="jscookmenu.png" alt="jscookmenu"/>
             -->
@@ -33,41 +38,50 @@
             <table>
                 <tr>
                     <td>component-family</td>
-                    <td>[TODO]</td>
+                    <td>javax.faces.Data</td>
                 </tr>
                 <tr>
                     <td>renderer-type</td>
-                    <td>[TODO]</td>
+                    <td>org.apache.myfaces.AliasBean</td>
                 </tr>
                 <tr>
                     <td>component-class</td>
-                    <td>[TODO]</td>
+                    <td>org.apache.myfaces.custom.aliasbean.AliasBean</td>
                 </tr>
                 <tr>
                     <td>renderer-class</td>
-                    <td>[TODO]</td>
+                    <td>org.apache.myfaces.custom.aliasbean.AliasBeanRenderer</td>
                 </tr>
                 <tr>
                     <td>tag-class</td>
-                    <td>[TODO]</td>
+                    <td>org.apache.myfaces.custom.aliasbean.AliasBeanTag</td>
                 </tr>
             </table>
         </section>
         <!-- Syntax -->
         <section>
             <title>Syntax</title>
-            <p>[TO DO]</p>
+            <p>
+                &lt;x:aliasBean alias="Bean" value="String"&gt;
+            </p>
         </section>
         <!-- Instructions -->
         <section>
             <title>Instructions</title>
-            <p>[TO DO]</p>
+            <p>
+                alias - The bean that will be set to the given value
+                        (Example : #{holder}).
+                value - The value that the alias can be set to. This can be
+                        a string (like "toto") or a reference to an existing
+                        bean (like "#{myBean.member1}").
+                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 />
-	&copy; 2004 - 2005, Apache Software Foundation
-	</legal>
+        <legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems,
Inc. in the United States and other countries.
+            <br/>
+            &copy; 2004 - 2005, Apache Software Foundation
+        </legal>
     </footer>
-
 </document>

Modified: myfaces/forrest/trunk/content/xdocs/components/buffer.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/buffer.xml?rev=209764&r1=209763&r2=209764&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/buffer.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/buffer.xml Fri Jul  8 06:19:49 2005
@@ -12,13 +12,14 @@
         <section>
             <title>Description</title>
             <p>
-                [TO DO]
+                This component allows you to render a part of the
+                page to a buffer, and then use the buffer later.
             </p>
         </section>
         <!-- screen shot -->
         <section>
             <title>Screen Shot</title>
-            <p>[TO DO]</p> <!-- replace with either a figure or Not Available
-->
+            <p>Not Available</p> <!-- replace with either a figure or Not
Available -->
             <!--
             <figure src="jscookmenu.png" alt="jscookmenu"/>
             -->
@@ -29,35 +30,41 @@
             <table>
                 <tr>
                     <td>component-family</td>
-                    <td>[TODO]</td>
+                    <td>javax.faces.Data</td>
                 </tr>
                 <tr>
                     <td>renderer-type</td>
-                    <td>[TODO]</td>
+                    <td>org.apache.myfaces.Buffer</td>
                 </tr>
                 <tr>
                     <td>component-class</td>
-                    <td>[TODO]</td>
+                    <td>org.apache.myfaces.custom.buffer.Buffer</td>
                 </tr>
                 <tr>
                     <td>renderer-class</td>
-                    <td>[TODO]</td>
+                    <td>org.apache.myfaces.custom.buffer.BufferRenderer</td>
                 </tr>
                 <tr>
                     <td>tag-class</td>
-                    <td>[TODO]</td>
+                    <td>org.apache.myfaces.custom.buffer.BufferTag</td>
                 </tr>
             </table>
         </section>
         <!-- Syntax -->
         <section>
             <title>Syntax</title>
-            <p>[TO DO]</p>
+            <p>
+                &lt;x:buffer into="Bean"&gt;
+                    &lt;x:div&gt;
+                        &lt;h:outputText value="String"/&gt;
+                    &lt;/x:div&gt;
+               &lt;/x:buffer&gt;
+            </p>
         </section>
         <!-- Instructions -->
         <section>
             <title>Instructions</title>
-            <p>[TO DO]</p>
+            <p>Just nest Element to buffer into a x:buffer-Element.</p>
         </section>
     </body>
     <footer>



Mime
View raw message