You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by mu...@apache.org on 2009/01/12 16:10:16 UTC

svn commit: r733777 - /struts/struts2/trunk/core/src/main/resources/struts-default.xml

Author: musachy
Date: Mon Jan 12 07:10:11 2009
New Revision: 733777

URL: http://svn.apache.org/viewvc?rev=733777&view=rev
Log:
Define a bean for "NamedVariablePatternMatcher"

Modified:
    struts/struts2/trunk/core/src/main/resources/struts-default.xml

Modified: struts/struts2/trunk/core/src/main/resources/struts-default.xml
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/struts-default.xml?rev=733777&r1=733776&r2=733777&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/struts-default.xml (original)
+++ struts/struts2/trunk/core/src/main/resources/struts-default.xml Mon Jan 12 07:10:11 2009
@@ -37,6 +37,7 @@
     <bean type="com.opensymphony.xwork2.conversion.ObjectTypeDeterminer" name="struts" class="com.opensymphony.xwork2.conversion.impl.DefaultObjectTypeDeterminer"/>
 
     <bean type="com.opensymphony.xwork2.util.PatternMatcher" name="struts" class="com.opensymphony.xwork2.util.WildcardHelper" />
+    <bean type="com.opensymphony.xwork2.util.PatternMatcher" name="named-variable" class="com.opensymphony.xwork2.util.NamedVariablePatternMatcher"/>
 
     <bean type="org.apache.struts2.dispatcher.mapper.ActionMapper" name="struts" class="org.apache.struts2.dispatcher.mapper.DefaultActionMapper" />
     <bean type="org.apache.struts2.dispatcher.mapper.ActionMapper" name="composite" class="org.apache.struts2.dispatcher.mapper.CompositeActionMapper" />