<field-validator type="requiredstring">
<message>You must enter a repository name.</message>
</field-validator>
+ </field>
+ <field name="repository.retentionCount">
+ <field-validator type="int">
+ <param name="min">1</param>
+ <param name="max">100</param>
+ <message>Repository Purge By Retention Count needs to be between ${min} and ${max}.</message>
+ </field-validator>
+ </field>
+ <field name="repository.daysOlder">
+ <field-validator type="int">
+ <param name="min">0</param>
+ <param name="max">1000</param>
+ <message>Repository Purge By Days Older Than needs to be between ${min} and ${max}.</message>
+ </field-validator>
</field>
</validators>
\ No newline at end of file
<message>You must enter a repository name.</message>
</field-validator>
</field>
+ <field name="repository.retentionCount">
+ <field-validator type="int">
+ <param name="min">1</param>
+ <param name="max">100</param>
+ <message>Repository Purge By Retention Count needs to be between ${min} and ${max}.</message>
+ </field-validator>
+ </field>
+ <field name="repository.daysOlder">
+ <field-validator type="int">
+ <param name="min">1</param>
+ <param name="max">1000</param>
+ <message>Repository Purge By Days Older Than needs to be between ${min} and ${max}.</message>
+ </field-validator>
+ </field>
</validators>
\ No newline at end of file
</ww:form>
<script type="text/javascript">
- document.getElementById("addRepository_id").focus();
+ document.getElementById("addRepository_repository_id").focus();
</script>
</div>