/[Apache-SVN]/myfaces/site/tlddoc/x/aliasBean.html
ViewVC logotype

Diff of /myfaces/site/tlddoc/x/aliasBean.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- myfaces/site/tlddoc/x/aliasBean.html	2005/05/08 15:47:03	169137
+++ myfaces/site/tlddoc/x/aliasBean.html	2005/05/08 15:50:34	169138
@@ -42,9 +42,12 @@
 <br>
             Tag aliasBean</h2>
 <hr>
-            A tage that defines a new bean (alias) with a given value.
-            This allows you to design a subform with a fictive bean 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 fictive bean before including the subform.
+            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.
         <br>
 <p></p>
 <hr>
@@ -75,15 +78,16 @@
 <td><b>Name</b></td><td><b>Required</b></td><td><b>Request-time</b></td><td><b>Type</b></td><td><b>Description</b></td>
 </tr>
 <tr valign="top">
-<td>id</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td>
+<td>alias</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>
+                The bean that will be set to the given value.
+                Example : #{holder}
+            </td>
 </tr>
 <tr valign="top">
-<td>alias</td><td>true</td><td>false</td><td><code>java.lang.String</code></td><td>
-                The name of the bean that will be set to the given value.
-            </td>
+<td>id</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td>
 </tr>
 <tr valign="top">
-<td>value</td><td>true</td><td>false</td><td><code>java.lang.String</code></td><td>
+<td>value</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>
                 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}").
             </td>

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26