You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2013/05/31 08:24:35 UTC

svn commit: r1488106 - /struts/struts2/trunk/plugins/config-browser/src/main/resources/struts-plugin.xml

Author: lukaszlenart
Date: Fri May 31 06:24:35 2013
New Revision: 1488106

URL: http://svn.apache.org/r1488106
Log:
WW-4086 Adds default-action-ref to Config Browser configuration instead of empty action name

Modified:
    struts/struts2/trunk/plugins/config-browser/src/main/resources/struts-plugin.xml

Modified: struts/struts2/trunk/plugins/config-browser/src/main/resources/struts-plugin.xml
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/config-browser/src/main/resources/struts-plugin.xml?rev=1488106&r1=1488105&r2=1488106&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/config-browser/src/main/resources/struts-plugin.xml (original)
+++ struts/struts2/trunk/plugins/config-browser/src/main/resources/struts-plugin.xml Fri May 31 06:24:35 2013
@@ -30,21 +30,22 @@
     <bean class="org.apache.struts2.config_browser.ConfigurationHelper" />
     
     <package name="config-browser" extends="struts-default" namespace="/config-browser">
+
         <interceptors>
             <interceptor-stack name="configBrowserDefault">
                 <interceptor-ref name="validationWorkflowStack"/>
             </interceptor-stack>
         </interceptors>
+
         <default-interceptor-ref name="configBrowserDefault"/>
 
+        <default-action-ref name="index" />
+
         <global-results>
             <result name="error" type="freemarker">/config-browser/error.ftl</result>
             <result name="input" type="freemarker">/config-browser/error.ftl</result>
         </global-results>
 
-        <action name="">
-            <result type="redirectAction">actionNames</result>
-        </action>
 
         <action name="index" class="org.apache.struts2.config_browser.ActionNamesAction" method="redirect">
             <result type="redirectAction">actionNames</result>
@@ -79,5 +80,7 @@
         <action name="validatorDetails" class="org.apache.struts2.config_browser.ShowValidatorAction">
             <result type="freemarker" name="success">/config-browser/validatorDetails.ftl</result>
         </action>
+
     </package>
+
 </struts>