shannon 2002/06/13 07:46:43
Modified: src/documentation/xdocs/howto/xmlform-wizard Tag:
cocoon_2_0_3_branch howto-xmlform-wizard-3.xml
Log:
sync with head
Revision Changes Path
No revision
No revision
1.2.2.2 +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.2.1
retrieving revision 1.2.2.2
diff -u -r1.2.2.1 -r1.2.2.2
--- howto-xmlform-wizard-3.xml 7 Jun 2002 19:49:00 -0000 1.2.2.1
+++ howto-xmlform-wizard-3.xml 13 Jun 2002 14:46:43 -0000 1.2.2.2
@@ -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, default
+ values pre-populate the form. These values come directly from
+ the model bean. If users were 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]