You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Steve Hanson (JIRA)" <be...@incubator.apache.org> on 2004/11/15 20:29:24 UTC

[jira] Resolved: (BEEHIVE-81) Page Flow Overview - clarification on form bean classes

     [ http://nagoya.apache.org/jira/browse/BEEHIVE-81?page=history ]
     
Steve Hanson resolved BEEHIVE-81:
---------------------------------

      Assign To:     (was: Steve Hanson)
     Resolution: Fixed
    Fix Version: V1Alpha

I changed the text to read:

"
 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 org.apache.struts.action.ActionForm. Similarly, in earlier incarnations of Page Flows the JavaBean had to be a subclass of org.apache.beehive.netui.pageflow.FormData. But this restriction has been loosened in the current incarnation: the JavaBean representation may be any JavaBean type.)

The JavaBean may be defined (1) as a static inner class of the controller itself (see example below) or (2) as a stand-alone Java class in a separate file. The JavaBean class follows normal JavaBean conventions and require no special annotations. The JavaBean shown below is a subclass of FormData, but this is not a requirement. The JavaBean can be of any type. 
"

> Page Flow Overview - clarification on form bean classes
> -------------------------------------------------------
>
>          Key: BEEHIVE-81
>          URL: http://nagoya.apache.org/jira/browse/BEEHIVE-81
>      Project: Beehive
>         Type: Improvement
>   Components: Documentation
>     Versions: V1Alpha
>     Reporter: Rich Feit
>     Priority: Minor
>      Fix For: V1Alpha

>
> At http://incubator.apache.org/beehive/pageflow/pageflow_controllers.html , in the section entitled Handling Forms, we could mention that org.apache.beehive.netui.pageflow.FormData optional as the superclass.  We should also emphasize that form bean classes do *not* have to be inner classes of the page flow.  The page says it "may" be an inner class, but there's been so much confusion about this in the past that I think it would be good to mention it here and nip it in the bud.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira