You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by iv...@apache.org on 2002/05/24 15:12:50 UTC
cvs commit: xml-cocoon2/src/documentation/xdocs/xmlform step1-xmlform-howto.xml
ivelin 02/05/24 06:12:50
Modified: src/documentation/xdocs/xmlform step1-xmlform-howto.xml
Log:
no message
Revision Changes Path
1.2 +6 -3 xml-cocoon2/src/documentation/xdocs/xmlform/step1-xmlform-howto.xml
Index: step1-xmlform-howto.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/xmlform/step1-xmlform-howto.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- step1-xmlform-howto.xml 23 May 2002 13:44:17 -0000 1.1
+++ step1-xmlform-howto.xml 24 May 2002 13:12:50 -0000 1.2
@@ -70,7 +70,7 @@
<p>Next are the actual XML pages that make up the form. These are:</p>
<ul>
- <li>register.xml</li>
+ <li>registration.xml</li>
<li>interest.xml</li>
<li>organicGardening.xml</li>
<li>cooking.xml</li>
@@ -80,7 +80,7 @@
</ul>
<s2 title="register.xml">
- <p>Register.xml lets the user register their username, password and email address so they can join the mailing lists they will next choose.</p>
+ <p>registration.xml lets the user register their username, password and email address so they can join the mailing lists they will next choose.</p>
<p>The important part of the form you will need to change in your own forms are inside the xf:form tag. The id attribute value should match the sitemaps xmlform-id parameters value:</p>
<source>
<![CDATA[
@@ -89,7 +89,9 @@
</source>
<p>The view attribute should contain the name of the current xml file, the action attribute should contain the name of the url you are using in the sitemap.</p>
<p>The caption tag is the page heading. Next we have the error tags which are used if you have a validation set in your sitemap. If an error is found then this will display them when the user clicks the next button on your form.</p>
- <p>Now we see the input options for the user, such as xf:textbox which will display a textbox. Each such option as a ref attribute which is very important as this is the value we will map to the JavaBean. If we are validating this input then it must have a violations tag inside it saying which class it belongs to.</p>
+
+ <p>Now we see the input options for the user, such as xf:textbox which will display a textbox. Each such option has a ref attribute which is very important as this is the value we will map to the JavaBean. If we are validating this input then it must have a violations tag inside it. The violations tag serves as a container or place holder for validation errors. It has a single optional attribute "class" which refers to the CSS class to use when displaying validation errors.</p>
+
<p>Finally the form needs a submit tag. This lets the user navigate forward to the rest of the form.</p>
<source>
<![CDATA[
@@ -449,4 +451,5 @@
</body>
</document>
+
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org