Author: steveh
Date: Mon Mar 14 13:54:24 2005
New Revision: 157470
URL: http://svn.apache.org/viewcvs?view=rev&rev=157470
Log:
Fix for BEEHIVE-431: example in page flow users guide needs a minor fix
Modified:
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/guide.xml
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_controllers.xml
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/sharedFlow.xml
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml
Modified:
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/guide.xml
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/guide.xml?view=diff&r1=157469&r2=157470
==============================================================================
---
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/guide.xml
(original)
+++
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/guide.xml
Mon Mar 14 13:54:24 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"
"http://forrest.apache.org/dtd/document-v13.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
"http://forrest.apache.org/dtd/document-v20.dtd">
<document>
<header>
<title>Page Flow Users Guide</title>
@@ -9,7 +9,7 @@
<title>Advantages of Programming with Page Flows</title>
<p>Page Flows make building Java web applications easy and
intuitive. When programming with Page Flows, the developer writes Java files
and JSP pages--that's it. There is very little occasion to work with
configuration files, or other components. Page Flow programming is not only
simple, it is also excells at separating the presentation logic from the data
processing logic. This results in uncluttered JSP code which is easy to
understand and edit. Moreover, many of the most difficult programming tasks,
such as security and validation, are handled with a simple declarative
programming model using Java annotations.</p>
</section>
- <section>
+ <section id="how_work">
<title>How Do Page Flows Work?</title>
<p>A Page Flow consists of a single directory containing a Java
class, called the "Controller", and any number of JSP pages.
The role of the JSP pages is to present a visual interface for
users of the web application. The role of the Controller file is to coordinate
all of the things that can happen when a user visits a web site. These duties
include: handling user requests, fashioning responses to user requests,
preserving session state, and coordinating back-end resources (such as
databases and web services).</p>
@@ -58,7 +58,7 @@
@Jpf.Forward(name = "<strong>success</strong>", path =
"<strong>pageB.jsp</strong>")
}
)
- protected Forward navigate()
+ protected Forward toPageB()
{
return new Forward("success");
}</source>
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=157469&r2=157470
==============================================================================
---
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
Mon Mar 14 13:54:24 2005
@@ -171,7 +171,7 @@
<section id="action_methods">
- <title>Actions Methods</title>
+ <title>Action Methods</title>
<p>
Now it is time to re-implement the three action methods:
<code>login</code>,
Modified:
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/sharedFlow.xml
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/sharedFlow.xml?view=diff&r1=157469&r2=157470
==============================================================================
---
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/sharedFlow.xml
(original)
+++
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/sharedFlow.xml
Mon Mar 14 13:54:24 2005
@@ -13,7 +13,7 @@
to make available to multiple page flows. You
can have multiple
shared flows, each with different delegated
functions. For
example, you might have one shared flow
specifically for
- handling exceptions, and another shared flow to
provides common
+ handling exceptions, and another shared flow to
provide common
data resources.</p>
<p>Shared flows can reside anywhere in your web app,
and can be
invoked from other controller files or from JSP
files.</p>
Modified:
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml?view=diff&r1=157469&r2=157470
==============================================================================
---
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml
(original)
+++
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/tutorial_pageflow.xml
Mon Mar 14 13:54:24 2005
@@ -188,7 +188,7 @@
build
<strong>Copy and Paste version:</strong>
-ant -f %BEEHIVE_HOME%\ant\buildWebapp.xml
-Dwebapp.dir=C:\beehive_projects\pageflow_tutorial build</source>
+ant -f %BEEHIVE_HOME%\ant\buildWebapp.xml
-Dwebapp.dir=C:\beehive_projects\pageflow_tutorial build</source>
<p>To deploy the web application, click the following link. We
recommend that you open the
link in a new browser window. Each time you want to redeploy
the application,
simply refresh the browser.</p>