You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by st...@apache.org on 2005/02/02 22:13:26 UTC
svn commit: r151056 -
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_controllers.xml
Author: steveh
Date: Wed Feb 2 13:13:26 2005
New Revision: 151056
URL: http://svn.apache.org/viewcvs?view=rev&rev=151056
Log:
A fix for BEEHIVE-81: Page Flow Overview - clarification on form bean classes
Modified:
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_controllers.xml
Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_controllers.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_controllers.xml?view=diff&r1=151055&r2=151056
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_controllers.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_controllers.xml Wed Feb 2 13:13:26 2005
@@ -423,7 +423,8 @@
</ul>
<p>
- First, define a JavaBean to represent the HTML form to be submitted. This JavaBean can be of any Java type. (In Struts applications the JavaBean must be a subclass of <code>org.apache.struts.action.ActionForm</code>. Similarly, in earlier incarnations of Page Flows the JavaBean had to be a subclass of <code>org.apache.beehive.netui.pageflow.FormData</code>. But this restriction has been loosened in the current incarnation: the JavaBean representation may be any JavaBean type.)
+ First, define a JavaBean to represent the HTML form to be submitted. This JavaBean can be of
+ any Java type, as long as it conforms to standard JavaBean syntax.
</p>
<p>The JavaBean may be defined (1) as a <code>static</code> inner class of the controller itself
(see example below) or (2) as a stand-alone Java class in a separate file. The
@@ -432,7 +433,6 @@
<source>
import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.FormData;
import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;