shannon 2002/06/13 07:21:26
Modified: src/documentation/xdocs/howto/xmlform-wizard
howto-xmlform-wizard-3.xml
Log:
applied author's patch
Revision Changes Path
1.3 +8 -8
xml-cocoon2/src/documentation/xdocs/howto/xmlform-wizard/howto-xmlform-wizard-3.xml
Index: howto-xmlform-wizard-3.xml
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/documentation/xdocs/howto/xmlform-wizard/howto-xmlform-wizard-3.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- howto-xmlform-wizard-3.xml 5 Jun 2002 15:03:16 -0000 1.2
+++ howto-xmlform-wizard-3.xml 13 Jun 2002 14:21:26 -0000 1.3
@@ -14,15 +14,16 @@
<body>
<s1 title="Step 3: Form instance model">
<s2 title="HowToBean.java">
- <fixme author="DS">Each value must map with the form data... can you
- reword?</fixme>
-
<p>Next, we create the simple JavaBean which holds the data provided
by users on each form. Each value has a corresponding set and get
- method. Each value must also map with the form data. This is done
- using <link
href="http://jakarta.apache.org/commons/jxpath/index.html">JXPath</link>
- (an XPath implementation applicable for JavaBeans, DOM nodes, and mix
- of the two).</p>
+ method. Of course, the accessors that are to be used with
+ <link
href="http://jakarta.apache.org/commons/jxpath/index.html">JXPath</link>
+ need to exist in standard bean form.</p>
+ <p>Note when you run the example for the first time that there are default
+ values that are pre-populated in the form. These values come directly from
+ the model bean. If the user was simply editing existing information about
+ themselves, providing a model bean from persistent storage would provide
the
+ expected results.</p>
<p>Copy the file below, and save it as HowToBean.java in the folder
\src\java\org\apache\cocoon\samples\xmlform\howto</p>
@@ -63,7 +64,6 @@
private boolean pigKeeping = true;
private boolean pygmyGoats = true;
private boolean henKeeping = true;
- private Node system;
public HowToBean ()
{
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]