You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by la...@apache.org on 2005/11/29 05:40:55 UTC

svn commit: r349635 - /struts/action/trunk/xdocs/userGuide/release-notes.xml

Author: laurieh
Date: Mon Nov 28 20:40:53 2005
New Revision: 349635

URL: http://svn.apache.org/viewcvs?rev=349635&view=rev
Log:
Added notes about enhanced DynaActionFrom capability, and fixed a
remaining reference to 1.2.7 to 1.2.8.


Modified:
    struts/action/trunk/xdocs/userGuide/release-notes.xml

Modified: struts/action/trunk/xdocs/userGuide/release-notes.xml
URL: http://svn.apache.org/viewcvs/struts/action/trunk/xdocs/userGuide/release-notes.xml?rev=349635&r1=349634&r2=349635&view=diff
==============================================================================
--- struts/action/trunk/xdocs/userGuide/release-notes.xml (original)
+++ struts/action/trunk/xdocs/userGuide/release-notes.xml Mon Nov 28 20:40:53 2005
@@ -72,7 +72,7 @@
           <h3>Struts Action Library</h3>
 
           <p>
-              Since Struts 1.2.7, we have subdivided Struts into several subprojects,
+              Since Struts 1.2.8, we have subdivided Struts into several subprojects,
               each with its own release cycle.
               The set of seven subprojects derived from Struts 1.2 is sometimes referred to as "Struts Classic".
               The Struts Classic subprojects are Action, Applications, EL, Extras, Site, Taglibs, and Tiles.
@@ -136,6 +136,9 @@
               <li>
                   Wildcard ActionConfig properties
               </li>
+              <li>
+                  Enhanced DynaActionForms
+              </li>
           </ul>
 
           <h4>Composable Request Processor</h4>
@@ -334,6 +337,30 @@
 &lt;/action>
 </source>
 
+          <h4>Enhanced DynaActionForms</h4>
+          <p>
+              The form-bean element in struts-config.xml now accepts
+              an <code>enhanced</code> attribute which, if set to
+              <code>true</code> for a form bean based on DynaActionForm
+              (or a sub-class), causes the form bean to be enhanced with
+              CGLIB to add getters and setters for each property, allowing
+              them to be accessed with the same JSTL EL syntax as for
+              normal form beans.
+          </p>
+          
+<source>
+&lt;form-bean name="form" enhanced="true" 
+        type="org.apache.struts.action.DynaActionForm"&gt;
+    ...
+&lt;/form-bean&gt;
+</source>
+          
+          <p>
+              <strong>NOTE:</strong> this feature requires that 
+              <a href="http://cglib.sourceforge.net/">CGLIB</a> be
+              included in your application's classpath.
+          </p>
+          
           <h3>Struts EL</h3>
 
           <p>Aside from addressing deprecrations, there was one minor change to Struts EL.</p>



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