Source

xwork / src / test / com / opensymphony / xwork / config / providers / xwork-test-results.xml

Full commit
<!DOCTYPE xwork PUBLIC
    "-//OpenSymphony Group//XWork 1.1.1//EN"
    "http://www.opensymphony.com/xwork/xwork-1.1.1.dtd"
 >

<xwork>
    <package name="default">
        <result-types>
            <result-type name="chain" class="com.opensymphony.xwork.ActionChainResult" default="true"/>
            <result-type name="mock" class="com.opensymphony.xwork.mock.MockResult"/>
        </result-types>

        <global-results>
            <!-- should be chain type since it is the default -->
            <result name="login">login</result>
        </global-results>

        <action name="Bar" class="com.opensymphony.xwork.SimpleAction">
            <result name="chainDefaultTypedResult" />
            <result name="mockTypedResult" type="mock" />
            <result name="specificLocationResult">
                <param name="actionName">bar.vm</param>
            </result>
            <result name="defaultLocationResult">foo.vm</result>
            <result name="noDefaultLocationResult"> <!-- this will have only one param, named foo -->
                foo.vm
                <param name="foo">bar</param>
            </result>
        </action>
    </package>
</xwork>