You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ri...@apache.org on 2005/06/13 18:28:39 UTC

svn commit: r190419 - /incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/config/beehive-netui-config.xml

Author: rich
Date: Mon Jun 13 09:28:38 2005
New Revision: 190419

URL: http://svn.apache.org/viewcvs?rev=190419&view=rev
Log:
Added doc for <pageflow-factories> (http://issues.apache.org/jira/browse/BEEHIVE-783), and added missing custom-property entries for all the elements under <pageflow-handlers>.

tests: validate in docs/forrest (WinXP)
BB: self (linux)


Modified:
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/config/beehive-netui-config.xml

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/config/beehive-netui-config.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/config/beehive-netui-config.xml?rev=190419&r1=190418&r2=190419&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/config/beehive-netui-config.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/config/beehive-netui-config.xml Mon Jun 13 09:28:38 2005
@@ -89,6 +89,13 @@
       <a href="#module-config-locator">&lt;module-config-locator></a>
         <a href="#description">&lt;description></a>
         <a href="#locator-class">&lt;locator-class></a>
+  <a href="#pageflow-factories">&lt;pageflow-factories></a>
+    <a href="#flowcontroller-factory">&lt;flowcontroller-factory></a>
+      <a href="#factory-class">&lt;factory-class></a>
+      <a href="#custom-property">&lt;custom-property></a>
+    <a href="#faces-backing-bean-factory">&lt;faces-backing-bean-factory></a>
+      <a href="#factory-class">&lt;factory-class></a>
+      <a href="#custom-property">&lt;custom-property></a>
   <a href="#default-shared-flow-refs">&lt;default-shared-flow-refs></a>
     <a href="#shared-flow-ref">&lt;shared-flow-ref></a>
       <a href="#name">&lt;name></a>
@@ -218,7 +225,10 @@
 					<a href="#exceptions-handler">&lt;exceptions-handler></a>,
 					<a href="#forward-redirect-handler">&lt;forward-redirect-handler></a>,
 					<a href="#login-handler">&lt;login-handler></a>,
-					<a href="#reloadable-class-handler">&lt;reloadable-class-handler></a></p>
+					<a href="#reloadable-class-handler">&lt;reloadable-class-handler></a>
+					<a href="#flowcontroller-factory">&lt;flowcontroller-factory></a>
+					<a href="#faces-backing-bean-factory">&lt;faces-backing-bean-factory></a>
+                    </p>
 				<p><strong>Children:</strong></p>
 				<p><a href="#name">&lt;name></a>, 
 				   <a href="#value">&lt;value></a></p></section>
@@ -352,16 +362,6 @@
 					<a href="#expression-language">&lt;expression-language></a>
 					</p></section>
 
-        <section id="factory-class"><title>&lt;factory-class&gt;</title>
-				<p><strong>Syntax</strong></p>
-				<source>&lt;factory-class> xsd:string &lt;/factory-class> [occurrences: 1]</source>
-				<p><strong>Parents:</strong></p>
-					<p><a href="#binding-contexts">&lt;binding-contexts></a>,
-					<a href="#expression-language">&lt;expression-language></a>,
-					<a href="#iterator-factory">&lt;iterator-factory></a></p>
-				<p><strong>Children:</strong></p>
-				<p>none</p></section>
-
         <section id="forward-redirect-handler"><title>&lt;forward-redirect-handler&gt;</title>
 				<p><strong>Syntax</strong></p>
 				<source>&lt;forward-redirect-handler>
@@ -644,6 +644,7 @@
   &lt;expression-languages> ... &lt;/expression-languages> [occurrences: 1]
   &lt;pageflow-action-interceptors> ... &lt;/pageflow-action-interceptors> [occurrences: 0-1]
   &lt;pageflow-handlers> ... &lt;/pageflow-handlers> [occurrences: 0-1]
+  &lt;pageflow-factories> ... &lt;/pageflow-factories> [occurrences: 0-1]
   &lt;pageflow-config> ... &lt;/pageflow-config> [occurrences: 0-1]
   &lt;default-shared-flow-refs> ... &lt;/default-shared-flow-refs> [occurrences: 0-1]
   &lt;type-converters> ... &lt;/type-converters> [occurrences: 0-1]
@@ -659,6 +660,7 @@
 				<p>  <a href="#expression-languages">&lt;expression-languages&gt;</a>,
   <a href="#pageflow-action-interceptors">&lt;pageflow-action-interceptors&gt;</a>,
   <a href="#pageflow-handlers">&lt;pageflow-handlers&gt;</a>,
+  <a href="#pageflow-factories">&lt;pageflow-factories&gt;</a>,
   <a href="#pageflow-config">&lt;pageflow-config&gt;</a>,
   <a href="#default-shared-flow-refs">&lt;default-shared-flow-refs&gt;</a>,
   <a href="#type-converters">&lt;type-converters&gt;</a>,
@@ -773,18 +775,38 @@
 				<source>&lt;pageflow-handlers&gt;
 	&lt;action-forward-handler> [occurrences: 0-*]
 		&lt;handler-class> xsd:string &lt;/handler-class> [occurrences: 1]
+		&lt;custom-property> [occurrences: 0-*]
+            &lt;name> xsd:string &lt;/name> [occurrences: 1]
+            &lt;value> xsd:string &lt;/value> [occurrences: 1]
+        &lt;/custom-property>
 	&lt;/action-forward-handler>
 	&lt;exceptions-handler> [occurrences: 0-*]
 		&lt;handler-class> xsd:string &lt;/handler-class> [occurrences: 1]
+		&lt;custom-property> [occurrences: 0-*]
+            &lt;name> xsd:string &lt;/name> [occurrences: 1]
+            &lt;value> xsd:string &lt;/value> [occurrences: 1]
+        &lt;/custom-property>
 	&lt;/exceptions-handler>
 	&lt;forward-redirect-handler> [occurrences: 0-*]
 		&lt;handler-class> xsd:string &lt;/handler-class> [occurrences: 1]
+		&lt;custom-property> [occurrences: 0-*]
+            &lt;name> xsd:string &lt;/name> [occurrences: 1]
+            &lt;value> xsd:string &lt;/value> [occurrences: 1]
+        &lt;/custom-property>
 	&lt;/forward-redirect-handler>
 	&lt;login-handler> [occurrences: 0-*]
 		&lt;handler-class> xsd:string &lt;/handler-class> [occurrences: 1]
+		&lt;custom-property> [occurrences: 0-*]
+            &lt;name> xsd:string &lt;/name> [occurrences: 1]
+            &lt;value> xsd:string &lt;/value> [occurrences: 1]
+        &lt;/custom-property>
 	&lt;/login-handler>
 	&lt;reloadable-class-handler> [occurrences: 0-*]
 		&lt;handler-class> xsd:string &lt;/handler-class> [occurrences: 1]
+		&lt;custom-property> [occurrences: 0-*]
+            &lt;name> xsd:string &lt;/name> [occurrences: 1]
+            &lt;value> xsd:string &lt;/value> [occurrences: 1]
+        &lt;/custom-property>
 	&lt;/reloadable-class-handler>
 &lt;/pageflow-handlers&gt;</source>
 				<p><strong>Parents:</strong></p>
@@ -796,6 +818,123 @@
 					<a href="#login-handler">&lt;login-handler&gt;</a>, 
 					<a href="#reloadable-class-handler">&lt;reloadable-class-handler&gt;</a></p></section>
             
+    <section id="pageflow-factories">
+        <title>&lt;pageflow-factories&gt;</title>
+        <p>
+            These settings let you override the default factories for creating
+            page flows, shared flows, and JavaServer Faces backing beans.
+        </p>
+
+        <p><strong>Syntax</strong></p>
+        <source>
+            &lt;pageflow-factories&gt;
+                &lt;flowcontroller-factory> [occurrences: 0-*]
+                    &lt;factory-class> xsd:string &lt;/factory-class> [occurrences: 1]
+                    &lt;custom-property> [occurrences: 0-*]
+                        &lt;name> xsd:string &lt;/name> [occurrences: 1]
+                        &lt;value> xsd:string &lt;/value> [occurrences: 1]
+                    &lt;/custom-property>
+                &lt;/flowcontroller-factory>
+                &lt;faces-backing-bean-factory> [occurrences: 0-*]
+                    &lt;factory-class> xsd:string &lt;/factory-class> [occurrences: 1]
+                    &lt;custom-property> [occurrences: 0-*]
+                        &lt;name> xsd:string &lt;/name> [occurrences: 1]
+                        &lt;value> xsd:string &lt;/value> [occurrences: 1]
+                    &lt;/custom-property>
+                &lt;/faces-backing-bean-factory>
+            &lt;/pageflow-factories&gt;
+        </source>
+        <p><strong>Parents:</strong></p>
+        <p><a href="#netui-config">&lt;netui-config&gt;</a></p>
+        <p><strong>Children:</strong></p>
+        <p>
+            <a href="#flowcontroller-factory">&lt;flowcontroller-factory&gt;</a>,
+            <a href="#faces-backing-bean-factory">&lt;faces-backing-bean-factory&gt;</a>
+        </p>
+    </section>
+
+    <section id="flowcontroller-factory">
+        <title>&lt;flowcontroller-factory&gt;</title>
+        <p>
+            This setting configures a factory for creating page flows and shared flows.
+            The referenced class must extend
+            <a href="../../apidocs/classref_pageflows/org/apache/beehive/netui/pageflow/FlowControllerFactory.html">
+                org.apache.beehive.netui.pageflow.FlowControllerFactory
+            </a>
+        </p>
+
+        <p><strong>Syntax</strong></p>
+        <source>
+            &lt;flowcontroller-factory> [occurrences: 0-*]
+                &lt;factory-class> xsd:string &lt;/factory-class> [occurrences: 1]
+                &lt;custom-property> [occurrences: 0-*]
+                    &lt;name> xsd:string &lt;/name> [occurrences: 1]
+                    &lt;value> xsd:string &lt;/value> [occurrences: 1]
+                &lt;/custom-property>
+            &lt;/flowcontroller-factory>
+        </source>
+        <p><strong>Parents:</strong></p>
+        <p><a href="#pageflow-factories">&lt;pageflow-factories&gt;</a></p>
+        <p><strong>Children:</strong></p>
+        <p>
+            <a href="#factory-class">&lt;factory-class&gt;</a>,
+            <a href="#custom-property">&lt;custom-property&gt;</a>
+        </p>
+    </section>
+
+    <section id="faces-backing-bean-factory">
+        <title>&lt;faces-backing-bean-factory&gt;</title>
+        <p>
+            This setting configures a factory for creating "backing beans" for
+            JavaServer Faces pages.  The referenced class must extend
+            <a href="../../apidocs/classref_pageflows/org/apache/beehive/netui/pageflow/FacesBackingBeanFactory.html">
+                org.apache.beehive.netui.pageflow.FacesBackingBeanFactory
+            </a>
+        </p>
+
+        <p><strong>Syntax</strong></p>
+        <source>
+            &lt;faces-backing-bean-factory> [occurrences: 0-*]
+                &lt;factory-class> xsd:string &lt;/factory-class> [occurrences: 1]
+                &lt;custom-property> [occurrences: 0-*]
+                    &lt;name> xsd:string &lt;/name> [occurrences: 1]
+                    &lt;value> xsd:string &lt;/value> [occurrences: 1]
+                &lt;/custom-property>
+            &lt;/faces-backing-bean-factory>
+        </source>
+        <p><strong>Parents:</strong></p>
+        <p><a href="#pageflow-factories">&lt;pageflow-factories&gt;</a></p>
+        <p><strong>Children:</strong></p>
+        <p>
+            <a href="#factory-class">&lt;factory-class&gt;</a>,
+            <a href="#custom-property">&lt;custom-property&gt;</a>
+        </p>
+    </section>
+
+    <section id="factory-class">
+        <title>&lt;factory-class&gt;</title>
+        <p>
+            This setting configures a factory class and its custom properties.
+        </p>
+
+        <p><strong>Syntax</strong></p>
+        <source>
+            &lt;factory-class> xsd:string &lt;/factory-class> [occurrences: 1]
+        </source>
+        <p><strong>Parents:</strong></p>
+        <p>
+            <a href="#binding-contexts">&lt;binding-contexts></a>,
+            <a href="#expression-language">&lt;expression-language></a>,
+            <a href="#iterator-factory">&lt;iterator-factory></a>
+            <a href="#flowcontroller-factory">&lt;flowcontroller-factory&gt;</a>,
+            <a href="#faces-backing-bean-factory">&lt;faces-backing-bean-factory&gt;</a>
+        </p>
+        <p><strong>Children:</strong></p>
+        <p>
+            None.
+        </p>
+    </section>
+
 	<section id="pageflow-uri"><title>&lt;pageflow-uri&gt;</title>
 				<p><strong>Syntax</strong></p>
 				<source>&lt;pageflow-uri> xsd:string &lt;/pageflow-uri> [occurrences: 1]</source>