Author: steveh
Date: Thu Mar 17 10:48:46 2005
New Revision: 157960
URL: http://svn.apache.org/viewcvs?view=rev&rev=157960
Log:
Neglected to include this file with my last checkin.
Added:
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_databinding.xml
(with props)
Added:
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_databinding.xml
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_databinding.xml?view=auto&rev=157960
==============================================================================
---
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_databinding.xml
(added)
+++
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_databinding.xml
Thu Mar 17 10:48:46 2005
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
"http://forrest.apache.org/dtd/document-v20.dtd">
+<document>
+ <header>
+ <title>Databinding</title>
+ </header>
+ <body>
+ <section id="intro">
+ <title>Introduction</title>
+ </section>
+ <section id="contexts">
+ <title>Binding Contexts</title>
+ <table>
+ <tr>
+ <th>Context Name</th>
+ <th>Object the Context References</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td><code>actionForm</code></td>
+ <td>The current form bean: the form
bean named in the current <code><netui:form></code> tag</td>
+ <td>Individual fields defined in the
form bean can be referenced. Values are read-write.</td>
+ </tr>
+ <tr>
+ <td><code>pageInput</code></td>
+ <td>a java.util.Map on the current
Forward object</td>
+ <td>Page input data can be added to the
Forward object
+ using the
<code>addActionOutput(String, Object)
+ method.</code>. <source>Forward
forward = new Forward("success");
+forward.addActionOutput("name", someNameData);</source> The data can be
retrieved on
+ the JSP page using the
<code>pageInput</code>
+ databinding context.
<source><netui:span value="${pageInput.name}"/></source></td>
+ </tr>
+ <tr>
+ <td><code>bundle</code></td>
+ <td>Properties defined in a message
resource file</td>
+ <td>On a JSP page, declare the message
resource file using the <netui-data:declareBundle> tag.
+
<source><netui-data:declareBundle name="myBundle"
bundlePath="properties.bundle1"/></source>
+ Reference individual properties
in the file using the <code>bundle</code> databinding context.
+ <source><netui:span
value="${bundle.myBundle.message1}"/></source></td>
+ </tr>
+ <tr>
+ <td><code>actionForm</code></td>
+ <td>The current form bean: the form
bean named in the current <code><netui:form></code> tag</td>
+ <td>Individual fields defined in the
form bean can be referenced. Values are read-write.</td>
+ </tr>
+ </table>
+ <ul>
+ <li><code>pageScope</code> — a
java.util.Map of all page
+ scope variables</li>
+ <li><code>requestScope</code> — a
java.util.Map of all
+ request scope variables</li>
+ <li><code>sessionScope</code> — a
java.util.Map of all
+ session scope variables</li>
+ <li><code>applicationScope</code> — a
java.util.Map of
+ all application scope variables</li>
+ </ul>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Propchange:
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_databinding.xml
------------------------------------------------------------------------------
svn:eol-style = native