<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN" "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">

<validators>

    <field name="username">
        <field-validator type="requiredstring">
            <message key="error.username.required"/>
        </field-validator>
    </field>

    <field name="user.fullName">
        <field-validator type="requiredstring">
            <message key="error.fullName.required"/>
        </field-validator>
    </field>

    <field name="user.fromAddress">
        <field-validator type="requiredstring">
            <message key="error.fromAddress.required"/>
        </field-validator>
        <field-validator type="email">
            <message key="errors.email"/>
        </field-validator>
    </field>

    <field name="user.replyToAddress">
        <field-validator type="email">
            <message key="errors.email"/>
        </field-validator>
    </field>

</validators>
