Source

xwork / src / test / com / opensymphony / xwork / VisitorValidatorTestAction-visitorValidationAlias-validation.xml

Full commit
1
2
3
4
5
6
7
8
9
<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0//EN" "http://www.opensymphony.com/xwork/xwork-validator-1.0.dtd">
<validators>
    <field name="bean">
        <field-validator type="visitor">
            <param name="context">anotherContext</param>
            <message>bean: </message>
        </field-validator>
    </field>
</validators>