struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hus...@apache.org
Subject cvs commit: jakarta-struts/doc/userGuide building_controller.xml
Date Mon, 05 Jul 2004 22:13:26 GMT
husted      2004/07/05 15:13:26

  Modified:    doc/faqs newbie.xml
               doc/userGuide building_controller.xml
  Log:
  Routine updates.
  
  Revision  Changes    Path
  1.25      +21 -5     jakarta-struts/doc/faqs/newbie.xml
  
  Index: newbie.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/faqs/newbie.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- newbie.xml	1 Feb 2004 16:15:07 -0000	1.24
  +++ newbie.xml	5 Jul 2004 22:13:25 -0000	1.25
  @@ -163,7 +163,7 @@
   
   </section>
   
  -<section href="reload" name="Why was reload removed from Struts 1.1?">
  +<section href="reload" name="Why was reload removed from Struts (since 1.1)?">
   
   <p>
   The problem with ReloadAction was that Struts was trying to act like a
  @@ -173,7 +173,7 @@
   </p>
   
   <p>
  -Meanwhile, as 1.1 was being developed, work progressed on things
  +Meanwhile, as Struts 1.1 was being developed, work progressed on things
   like Tomcat's reload command via the Manager webapp. This feature allows
   you to quickly reload-on-demand, complete with saving and restoring your
   session). It started to make even less sense for Struts to half-implement
  @@ -187,7 +187,7 @@
   but real improvement in performance for all users.
   </p>
   
  -<p>So, ReloadAction is not supported in 1.1 for two reasons:</p>
  +<p>So, ReloadAction is not supported since Struts 1.1 for two reasons:</p>
   
   <ul>
   <li>
  @@ -242,11 +242,16 @@
   <li>module-relative: /myAction.do</li>
   </ul>
   
  +<p>
  +    The Struts Examples application is a modular application that was assembled from several
  +    applications that were created independently.
  +</p>
  +
   </section>
   
   <section href="naming" name="Why are some of the class and element names counter-intuitive?">
   <p>
  -The framework grew in the telling and as it evolved some of the names
  +The framework grew in the telling and, as it evolved, some of the names
   drifted.
   </p>
   <p>The good thing about a nightly build, is that everything becomes
  @@ -291,6 +296,11 @@
   Since the goal of struts is to enforce this separation, it just makes more sense
   for Struts to own the ActionForm.
   </p>
  +<p>
  +DynaActionForms relieve developers of maintaining simple ActionForms. For near
  +zero maintenance, try Niall Pemberton's
  +<a href="http://www.niallp.pwp.blueyonder.co.uk/">LazyActionForm</a>
  +</p>
   </section>
   
   <section href="JavaBeans" name="Do ActionForms have to be true JavaBeans?">
  @@ -299,7 +309,13 @@
   the JavaBean patterns for mutators and accessors (get*,set*,is*). Since Struts uses the
Introspection API
   with the ActionForms, some containers may require that all the JavaBean patterns be followed,
including
   declaring "<code>implements Serializable</code>" for each subclass. The safest
thing is to review the
  -<a href="../userGuide/preface.html#javabeans">JavaBean specification</a> and
follow all the prescribed patterns.</p>
  +<a href="../userGuide/preface.html#javabeans">JavaBean specification</a> and
follow all the prescribed patterns.
  +</p>
  +<p>
  +Since Struts 1.1, you can also use DynaActionForms and mapped-backed forms, which are not
true JavaBeans.
  +For more see <a href="../userGuide/building_controller.html#action_form_classes">ActionForm
classes</a> in the User Guide
  +and <a href="#otherBeans">Using Hashmaps with ActionForms</a> in this FAQ.
  +</p>
   </section>
   
   
  
  
  
  1.81      +6 -0      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.80
  retrieving revision 1.81
  diff -u -r1.80 -r1.81
  --- building_controller.xml	4 Jul 2004 23:58:28 -0000	1.80
  +++ building_controller.xml	5 Jul 2004 22:13:26 -0000	1.81
  @@ -611,6 +611,12 @@
       String properties.
       </p>
   
  +    <p>
  +    DynaActionForms relieve developers of maintaining simple ActionForms. For even
  +    less maintenance, try Niall Pemberton's
  +    <a href="http://www.niallp.pwp.blueyonder.co.uk/">LazyActionForm</a>.
  +    </p>
  +
   </section>
   
   <section name="4.3.2 Map-backed ActionForms" href="map_action_form_classes">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message