You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by pb...@apache.org on 2007/04/09 03:06:39 UTC

svn commit: r526628 - /struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_4.dtd

Author: pbenedict
Date: Sun Apr  8 18:06:36 2007
New Revision: 526628

URL: http://svn.apache.org/viewvc?view=rev&rev=526628
Log:
STR-3004: Add actionId attribute to action-mapping

Modified:
    struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_4.dtd

Modified: struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_4.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=526628&r1=526627&r2=526628
==============================================================================
--- struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_4.dtd (original)
+++ struts/struts1/trunk/core/src/main/resources/org/apache/struts/resources/struts-config_1_4.dtd Sun Apr  8 18:06:36 2007
@@ -354,6 +354,11 @@
      to process a request for a specific module-relative URI. The following
      attributes are defined:
 
+     actionId        The name which uniquely identifies the mapping within a 
+                     module. The Controlelr has built-in recognition for URIs
+                     that begin with an actionId and will automatically 
+                     translate forwards.
+
      attribute       Name of the request-scope or session-scope attribute that
                      is used to access our ActionForm bean, if it is other than
                      the bean's specified "name". Optional if "name" is specified,
@@ -467,6 +472,7 @@
 -->
 <!ELEMENT action (icon?, display-name?, description?, set-property*, exception*, forward*)>
 <!ATTLIST action         id             ID              #IMPLIED>
+<!ATTLIST action         actionId       CDATA           #IMPLIED>
 <!ATTLIST action         attribute      %BeanName;      #IMPLIED>
 <!ATTLIST action         cancellable    %Boolean;       #IMPLIED>
 <!ATTLIST action         catalog        CDATA           #IMPLIED>