Author: steveh
Date: Thu Nov 4 15:30:15 2004
New Revision: 56635
Modified:
incubator/beehive/site/build/site/controls/tutorial_controls.html
incubator/beehive/site/build/site/index.html
incubator/beehive/site/build/site/pageflow/tutorial_pageflow.html
incubator/beehive/site/src/documentation/content/xdocs/controls/tutorial_controls.xml
Log:
Fix for JIRA bug 55: Errors in Controls Tutorial
Modified: incubator/beehive/site/build/site/controls/tutorial_controls.html
==============================================================================
--- incubator/beehive/site/build/site/controls/tutorial_controls.html
(original)
+++ incubator/beehive/site/build/site/controls/tutorial_controls.html Thu Nov
4 15:30:15 2004
@@ -304,7 +304,7 @@
<a href="#To+Create+a+JSP+Page+to+Test+the+Control">To Create a JSP Page to
Test the Control</a>
</li>
<li>
-<a href="#To+Compile+the+Page+Flow">To Compile the Page Flow</a>
+<a href="#To+Compile+the+Control">To Compile the Control</a>
</li>
<li>
<a href="#To+Start+the+Tomcat+Server">To Start the Tomcat Server</a>
@@ -475,7 +475,7 @@
</p>
<p>In the directory <span
class="codefrag">CATALINA_HOME/webapps/control_tutorial/WEB-INF/src/hellocontrol</span>,
edit the file named <span class="codefrag">hello.jsp</span>.
</p>
-<p>Edit index.jsp so it appears as follows.</p>
+<p>Edit hello.jsp so it appears as follows.</p>
<pre class="code"><%@ page language="java"
contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"
prefix="netui"%>
<netui:html>
@@ -491,10 +491,10 @@
</netui:body>
</netui:html></pre>
</div>
-<a name="N1015F"></a><a name="To+Compile+the+Page+Flow"></a>
-<h4>To Compile the Page Flow</h4>
+<a name="N1015F"></a><a name="To+Compile+the+Control"></a>
+<h4>To Compile the Control</h4>
<div style="margin-left: 0 ; border: 2px">
-<p>You are now ready to compile the Page Flow.</p>
+<p>You are now ready to compile the control.</p>
<p>At the command prompt, enter:</p>
<pre class="code">ant -f %BEEHIVE_HOME%\ant\buildWebapp.xml build.webapp
-Dwebapp.dir=%CATALINA_HOME%\webapps\control_tutorial</pre>
</div>
Modified: incubator/beehive/site/build/site/index.html
==============================================================================
--- incubator/beehive/site/build/site/index.html (original)
+++ incubator/beehive/site/build/site/index.html Thu Nov 4 15:30:15 2004
@@ -264,20 +264,20 @@
<a href="#Get+Involved">Get Involved</a>
</li>
</ul>
- <!--
- Beehive
- Welcome<should link to the HTML page created from Welcome.doc>
- License<should link to http://www.apache.org/licenses/LICENSE-2.0>
-
- Documentation
- FAQ<should link to the HTML page created from FAQ.doc>
- Controls Overview<should link to Kyle's control Overview>
- Controls Programming<should link to Kyle's Controls programming pdf>
- Web Services (JSR 181)<should link to
http://jcp.org/en/jsr/detail?id=181>
-
- Contributing
- Mailing Lists<should link to HTML Page created from MailingLists.doc>
- Contributers<should link to HTML Page created from Contributers.doc>
+ <!--
+ Beehive
+ Welcome<should link to the HTML page created from Welcome.doc>
+ License<should link to http://www.apache.org/licenses/LICENSE-2.0>
+
+ Documentation
+ FAQ<should link to the HTML page created from FAQ.doc>
+ Controls Overview<should link to Kyle's control Overview>
+ Controls Programming<should link to Kyle's Controls programming pdf>
+ Web Services (JSR 181)<should link to
http://jcp.org/en/jsr/detail?id=181>
+
+ Contributing
+ Mailing Lists<should link to HTML Page created from MailingLists.doc>
+ Contributers<should link to HTML Page created from Contributers.doc>
-->
Modified: incubator/beehive/site/build/site/pageflow/tutorial_pageflow.html
==============================================================================
--- incubator/beehive/site/build/site/pageflow/tutorial_pageflow.html
(original)
+++ incubator/beehive/site/build/site/pageflow/tutorial_pageflow.html Thu Nov
4 15:30:15 2004
@@ -289,7 +289,7 @@
<a href="#Introduction">Introduction</a>
</li>
<li>
-<a href="#To+Copy+the+Page+Flow+Application+Template.">To Copy the Page Flow
Application Template.</a>
+<a href="#To+Copy+the+Page+Flow+Application+Template">To Copy the Page Flow
Application Template</a>
</li>
<li>
<a href="#To+Create+a+Controller+File">To Create a Controller File</a>
@@ -487,10 +487,10 @@
The Controller file you create in this step
contains one simple Action method. This simple navigational Action method
forwards users to the index.jsp page. In the next step, you will create a more
complex Action method.
</p>
</div>
-<a name="N100D5"></a><a name="To+Copy+the+Page+Flow+Application+Template."></a>
-<h4>To Copy the Page Flow Application Template.</h4>
+<a name="N100D5"></a><a name="To+Copy+the+Page+Flow+Application+Template"></a>
+<h4>To Copy the Page Flow Application Template</h4>
<div style="margin-left: 0 ; border: 2px">
-<p>In this step you will assemble the runtime resources for your Page Flow
application. These resourses consist of runtime JARs, the <netui> tag
library, and Struts configuration files. All of these resources are contained
in the Page Flow application template located at<span
class="codefrag">BEEHIVE_HOME/samples/netui-blank</span>.</p>
+<p>In this step you will assemble the runtime resources for your Page Flow
application. These resourses consist of runtime JARs, the <netui> tag
library, and deployment configuration files. All of these resources are
contained in the Page Flow application template located at<span
class="codefrag">BEEHIVE_HOME/samples/netui-blank</span>.</p>
<p>In the directory <span class="codefrag">CATALINA_HOME/webapps</span>,
create a directory named <span class="codefrag">pageflow_tutorial</span>.</p>
<p>Copy the folders</p>
<pre class="code">BEEHIVE_HOME/samples/netui-blank/resources</pre>
Modified:
incubator/beehive/site/src/documentation/content/xdocs/controls/tutorial_controls.xml
==============================================================================
---
incubator/beehive/site/src/documentation/content/xdocs/controls/tutorial_controls.xml
(original)
+++
incubator/beehive/site/src/documentation/content/xdocs/controls/tutorial_controls.xml
Thu Nov 4 15:30:15 2004
@@ -131,7 +131,7 @@
</p>
<p>In the directory
<code>CATALINA_HOME/webapps/control_tutorial/WEB-INF/src/hellocontrol</code>,
edit the file named <code>hello.jsp</code>.
</p>
- <p>Edit index.jsp so it appears as follows.</p>
+ <p>Edit hello.jsp so it appears as follows.</p>
<source><![CDATA[<%@ page language="java"
contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
<netui:html>
@@ -148,8 +148,8 @@
</netui:html>]]></source>
</section>
<section>
- <title>To Compile the Page Flow</title>
- <p>You are now ready to compile the Page Flow.</p>
+ <title>To Compile the Control</title>
+ <p>You are now ready to compile the control.</p>
<p>At the command prompt, enter:</p>
<source>ant -f %BEEHIVE_HOME%\ant\buildWebapp.xml build.webapp
-Dwebapp.dir=%CATALINA_HOME%\webapps\control_tutorial</source>
</section>