You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/09/07 03:11:57 UTC
svn commit: r279200 - in
/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs:
controls/tutorial_controls.xml netui/databinding.xml site.xml
Author: ekoneil
Date: Tue Sep 6 18:11:53 2005
New Revision: 279200
URL: http://svn.apache.org/viewcvs?rev=279200&view=rev
Log:
Few documentation tweaks:
- fix an edit made in a recent change to databinding.xml to go from "at here" back to "here"
- change "sharedflow" to "sharedFlow" in the same document
- change "control_tutorial" to "controls_tutorial" in the controls tutorial. I'd made this change a while ago but somehow didn't change the entire doc...
BB: self
Test: build.release pass
Modified:
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/tutorial_controls.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/netui/databinding.xml
beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/site.xml
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/tutorial_controls.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/tutorial_controls.xml?rev=279200&r1=279199&r2=279200&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/tutorial_controls.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/controls/tutorial_controls.xml Tue Sep 6 18:11:53 2005
@@ -105,11 +105,11 @@
<p>
This tutorial uses a sample Hello World control that is contained in
<strong><code><BeehiveDistribution>/samples/controls-blank/src/pkg</code></strong>. Copy the <code>pkg</code>
- sub-directory from this path into the directory <strong><code>control_tutorial/WEB-INF/src</code></strong>.
+ sub-directory from this path into the directory <strong><code>controls_tutorial/WEB-INF/src</code></strong>.
</p>
<p>Now, confirm that the following directories and files exist:</p>
<source>
-control_tutorial/
+controls_tutorial/
WEB-INF/
src/
pkg/
@@ -143,7 +143,7 @@
listed in the interface file.</p>
</section>
<section id="create-examine"><title>Examine the Control Files</title>
- <p>Open the file <code>/beehive_projects/control_tutorial/WEB-INF/src/pkg/HelloImpl.java</code>.</p>
+ <p>Open the file <code>/beehive_projects/controls_tutorial/WEB-INF/src/pkg/HelloImpl.java</code>.</p>
<p>The implementation file appears as follows. (There is no need to edit the file at
this point in the tutorial.)</p>
<source>
@@ -159,7 +159,7 @@
return "hello!";
}
}</source>
- <p>Open the file <code>control_tutorial/WEB-INF/src/pkg/Hello.java</code>. The interface file should appear appears as follows.</p>
+ <p>Open the file <code>controls_tutorial/WEB-INF/src/pkg/Hello.java</code>. The interface file should appear appears as follows.</p>
<source>
package pkg;
@@ -175,7 +175,7 @@
<p>To test the Hello control, you need to call the control from some other resource, such as a
Java application, JSP, a web application, etc. In the following two steps you will call the
control from a <a href="site:tutorial_pageflow">page flow contoller</a> in a web application and display the results on a JSP.</p>
- <p>Open the file <code>control_tutorial/Controller.java</code> in a code editor and modify so it appears as:</p>
+ <p>Open the file <code>controls_tutorial/Controller.java</code> in a code editor and modify so it appears as:</p>
<source>
import javax.servlet.http.HttpSession;
@@ -225,7 +225,7 @@
</section>
<section id="create_edit_page">
<title>Edit the index.jsp Test Page</title>
- <p>Edit the file <code>/beehive_projects/control_tutorial/index.jsp</code> to appear as follows; changes are shown in <strong>bold</strong>:</p>
+ <p>Edit the file <code>/beehive_projects/controls_tutorial/index.jsp</code> to appear as follows; changes are shown in <strong>bold</strong>:</p>
<source>
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
@@ -269,7 +269,7 @@
<section id="create_run">
<title>Test the Control</title>
<p>Visit the following address in a web browser:</p>
- <p class="quote"><a class="fork" href="http://localhost:8080/control_tutorial/begin.do">http://localhost:8080/control_tutorial/begin.do</a></p>
+ <p class="quote"><a class="fork" href="http://localhost:8080/controls_tutorial/begin.do">http://localhost:8080/controls_tutorial/begin.do</a></p>
<p>This will render the <code>index.jsp</code> page.</p>
<p>Note the message on the page: "hello!" which is provided by <code>Hello</code> control.</p>
</section>
@@ -278,7 +278,7 @@
<title>Step 3: Add a Parameterized Method to the Control</title>
<section id="add_method_edit">
<title>Edit the Interface and Implementation Files</title>
- <p>Edit <code>control_tutorial/WEB-INF/src/pkg/HelloImpl.java</code> so it appears as follows. Code to add appears in bold.</p>
+ <p>Edit <code>controls_tutorial/WEB-INF/src/pkg/HelloImpl.java</code> so it appears as follows. Code to add appears in bold.</p>
<source>
package pkg;
@@ -298,7 +298,7 @@
</strong>
}
</source>
-<p>Edit <code>control_tutorial/WEB-INF/src/pkg/Hello.java</code> so it appears as follows; modifications are shown in <strong>bold</strong>:</p>
+<p>Edit <code>controls_tutorial/WEB-INF/src/pkg/Hello.java</code> so it appears as follows; modifications are shown in <strong>bold</strong>:</p>
<source>
package pkg;
@@ -377,7 +377,7 @@
<section id="add_method_run">
<title>Test the Control</title>
<p>Visit the following address in a web browser:</p>
- <p class="quote"><a class="fork" href="http://localhost:8080/control_tutorial/begin.do">http://localhost:8080/control_tutorial/begin.do</a></p>
+ <p class="quote"><a class="fork" href="http://localhost:8080/controls_tutorial/begin.do">http://localhost:8080/controls_tutorial/begin.do</a></p>
<p>This will render the <code>index.jsp</code> page.</p>
<p>Note the messages on the page: "hello!" and "Hello, World!" which are provided by the <code>Hello</code> control.</p>
</section>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/netui/databinding.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/netui/databinding.xml?rev=279200&r1=279199&r2=279200&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/netui/databinding.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/netui/databinding.xml Tue Sep 6 18:11:53 2005
@@ -21,10 +21,10 @@
HTML text boxes, radio buttons, select boxes, and other HTML widget types. Each of these types of binding
use the syntax of the JSP 2.0 Expression Language (EL) to express a binding from JSP tag to JavaBean property,
Map member, List item, array element, and so on. The JSP 2.0 Expression Language is used to bind read-only
- data to tag attributes. This language is documented in detail at <a href="site:jspel">here</a>. For example,
+ data to tag attributes. This language is documented in detail <a href="site:jspel">here</a>. For example,
this example binds a NetUI <code>span</code> tag to a value from a JSP's PageContext attribute map:
</p>
- <source><![CDATA[<netui:span value="${pageScope.fooAttribute}"/> ]]></source>
+ <source><![CDATA[<netui:span value="${pageScope.fooAttribute}"/>]]></source>
<p>
Here, the JSP container evaluates the expression and invokes the <code>span</code> tag's <code>setValue</code>
attribute method to pass the result to the tag. The JSP 2.0 EL is also able to perform simple arithmetic
@@ -63,11 +63,11 @@
A JSP 2.0+ container exposes a set of implicit objects for use by JSP authors. These implicit objects are documented
<a href="site:jspel">here</a>. These can be used on any of the NetUI JSP tag attributes that accept runtime expressions.
For example, in a webapp called <code>foo</code> the following JSP snippet uses the <code>pageContext</code> implicit object
- which exposes the JSP's <code>javax.servlet.jsp.PageContext</code> to the page as a JavaBean:
+ as a JavaBean to build a fully-qualified image path:
</p>
<source><![CDATA[<netui:image value="${pageContext.request.contextPath}/images/banner.png"/> ]]></source>
<p>
- The following HTML markup will be rendered:
+ This renders the following HTML markup:
</p>
<source><![CDATA[<img source="/foo/images/banner.png"/> ]]></source>
<p>
@@ -171,7 +171,7 @@
page flow</a> which references
<a href="../apidocs/classref_netui/org/apache/beehive/netui/pageflow/SharedFlowController.html">
shared flows</a>.</td>
- <td>The <code>sharedflow</code> implicit object provides access to any JavaBean properties on Shared Flows assocaited
+ <td>The <code>sharedFlow</code> implicit object provides access to any JavaBean properties on Shared Flows assocaited
with the current page flow. This allows shared flows to expose properties to JSPs.
</td>
</tr>
Modified: beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/site.xml?rev=279200&r1=279199&r2=279200&view=diff
==============================================================================
--- beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/site.xml (original)
+++ beehive/trunk/docs/forrest/release/src/documentation/content/xdocs/site.xml Tue Sep 6 18:11:53 2005
@@ -28,7 +28,7 @@
<actions label="Actions" href="netui/actions.html">
<raising href="#raising"/>
</actions>
- <databinding label="Databinding" href="netui/databinding.html">
+ <databinding label="Data binding" href="netui/databinding.html">
<databinding_container href="#implicit-objects-netui-container" />
<databinding_implicitObjectsNetui href="#implicit-objects-netui" />
<pageInput href="#implicit-objects-netui-pageInput" />