Author: pbenedict Date: Sat Feb 10 13:44:56 2007 New Revision: 505772 URL: http://svn.apache.org/viewvc?view=rev&rev=505772 Log: STR-3004: Delete new copy; use svn copy to retain history
Added: struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_4.dtd - copied, changed from r505771, struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_3.dtd Copied: struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_4.dtd (from r505771, struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_3.dtd) URL: http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_4.dtd?view=diff&rev=505772&p1=struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_3.dtd&r1=505771&p2=struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_4.dtd&r2=505772 ============================================================================== --- struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_3.dtd (original) +++ struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_4.dtd Sat Feb 10 13:44:56 2007 @@ -22,8 +22,8 @@ DOCTYPE element at the beginning (after the "xml" declaration): <!DOCTYPE struts-config PUBLIC - "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" - "http://struts.apache.org/dtds/struts-config_1_3.dtd"> + "-//Apache Software Foundation//DTD Struts Configuration 1.4//EN" + "http://struts.apache.org/dtds/struts-config_1_4.dtd"> $Id$ --> @@ -91,6 +91,8 @@ --> <!ENTITY % RequestScope "(request|session)"> +<!-- Defines possible values for automatic form bean population --> +<!ENTITY % PopulateStrategy "(request|forward|request-forward|none)"> <!-- ========== Top Level Elements ======================================== --> @@ -452,6 +454,16 @@ action mapping, or set to "false" if you do not want the validate method called. [true] + + reset Allows to specify conditions for automatic form reset. + Possible values: not specified, "request", "forward", + "request-forward" or "none". + [request-forward] + + populate Allows to specify conditions for automatic form population + with HTTP request values. Possible values: not specified, + "request", "forward", "request-forward" or "none". + [request-forward] --> <!ELEMENT action (icon?, display-name?, description?, set-property*, exception*, forward*)> <!ATTLIST action id ID #IMPLIED> @@ -467,7 +479,9 @@ <!ATTLIST action name %BeanName; #IMPLIED> <!ATTLIST action parameter CDATA #IMPLIED> <!ATTLIST action path %RequestPath; #REQUIRED> +<!ATTLIST action populate %PopulateStrategy; #IMPLIED> <!ATTLIST action prefix CDATA #IMPLIED> +<!ATTLIST action reset %PopulateStrategy; #IMPLIED> <!ATTLIST action roles CDATA #IMPLIED> <!ATTLIST action scope %RequestScope; #IMPLIED> <!ATTLIST action suffix CDATA #IMPLIED> @@ -696,7 +710,7 @@ the "key" attribute instead of the "property" attribute, you can set arbitrary string properties on the Config object which is populated based on the containing element. NOTE: the "key" attribute is NOT - supported for <set-property> inside a <plug-in> element. + supported for <set-property> inside a <plug-in> element. property Name of the JavaBeans property whose setter method will be called. Exactly one of