[ http://issues.apache.org/jira/browse/BEEHIVE-80?page=history ]
Steve Hanson resolved BEEHIVE-80:
---------------------------------
Assign To: Rich Feit (was: Steve Hanson)
Resolution: Won't Fix
I agree with Jeremy on this one. If you look at the entire doc series provided
by Codehause Bob (Overview-->Controllers-->JSP, and so on) it is based on the
most basic JAVA and JSP knowledge. Basically the assumptions are: (1) You know
what a Java method is and (2) you know what a JSP page is. But Codehause Bob
doesn't assume you know anything like (3) these two things can be connected!
(action methods) or (4) there are metadata annotations that configure your app.
This one of the strengths of the doc, even if involves some non-ideal code
(like making navigational actions into stand-alone Java methods, instead of
Simple Actions).
> Page Flow Overview - simple actions versus complex actions
> ----------------------------------------------------------
>
> Key: BEEHIVE-80
> URL: http://issues.apache.org/jira/browse/BEEHIVE-80
> Project: Beehive
> Type: Improvement
> Components: Documentation
> Versions: V1Alpha
> Reporter: Rich Feit
> Assignee: Rich Feit
> Fix For: V1Alpha
>
> Using "simple actions" could reduce the size of the page flow being
> discussed, and it might make a clearer case for the method-based actions that
> come in the section entitled Conditional Forwards. Basically, you could
> replace code like this:
> @Jpf.Action(
> forwards = {
> @Jpf.Forward( name="success", path="signup.jsp" );
> }
> )
> public Forward signUp()
> {
> return new Forward( "success" );
> }
> @Jpf.Action(
> forwards = {
> @Jpf.Forward( name="success", path="login.jsp" );
> }
> )
> public Forward login()
> {
> return new Forward( "success" );
> }
> ...with this, at the class level:
> @Jpf.Controller(
> simpleActions={
> @Jpf.SimpleAction(name="signUp", path="signup.jsp"),
> @Jpf.SimpleAction(name="login", path="login.jsp")
> }
> )
> It's just a nice (new) feature that can reduce the size/complexity of a page
> flow class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.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