Source

xwork / src / test / com / opensymphony / xwork / test / DataAware-validation.xml

1
2
3
4
5
6
7
8
<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0//EN" "http://www.opensymphony.com/xwork/xwork-validator-1.0.dtd">
<validators>
    <field name="data">
        <field-validator type="required">
            <message>You must enter a value for data.</message>
        </field-validator>
    </field>
</validators>