dgraham 2002/10/20 12:48:15
Modified: doc/userGuide building_controller.xml
Log:
Added intro paragraph for ActionForm.
Revision Changes Path
1.36 +8 -1 jakarta-struts/doc/userGuide/building_controller.xml
Index: building_controller.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_controller.xml,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- building_controller.xml 18 Oct 2002 15:27:42 -0000 1.35
+++ building_controller.xml 20 Oct 2002 19:48:15 -0000 1.36
@@ -44,7 +44,14 @@
<section name="4.2 ActionForm Classes" href="action_form_classes">
- <p>[:TODO: introduction paragraph ]</p>
+ <p>
+ An ActionForm represents an HTML form that the user interacts with over one
+ or more pages. You will provide properties to hold the state of the form with
+ getters and setters to access them. ActionForms can be stored in either the
session (default)
+ or request scopes. If they're in the session it's important to implement the
form's reset
+ method to initialize the form before each use. Struts sets the ActionForm's
properties from
+ the request parameters and sends the validated form to the appropriate
Action's execute method.
+ </p>
<p>
When you code your <code>ActionForm</code> beans, keep the following
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>