[MRM-598] avoid javascript validation errors by removing upper limits that aren't that useful anyway

Merged from: r639284


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@639286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2008-03-20 13:27:27 +00:00
parent e4a54528f3
commit 1603003a05
4 changed files with 28 additions and 28 deletions

View File

@ -50,8 +50,11 @@
</field-validator> </field-validator>
<field-validator type="int"> <field-validator type="int">
<param name="min">1</param> <param name="min">1</param>
<!-- Webwork bug renders this as 65.535
<param name="max">65535</param> <param name="max">65535</param>
<message>Port needs to be between ${min} and ${max}</message> <message>Port needs to be between ${min} and ${max}</message>
-->
<message>Port needs to be larger than ${min}</message>
</field-validator> </field-validator>
</field> </field>
</validators> </validators>

View File

@ -47,8 +47,7 @@
<field name="repository.daysOlder"> <field name="repository.daysOlder">
<field-validator type="int"> <field-validator type="int">
<param name="min">0</param> <param name="min">0</param>
<param name="max">1000</param> <message>Repository Purge By Days Older Than needs to be larger than ${min}.</message>
<message>Repository Purge By Days Older Than needs to be between ${min} and ${max}.</message>
</field-validator> </field-validator>
</field> </field>
</validators> </validators>

View File

@ -47,8 +47,7 @@
<field name="repository.daysOlder"> <field name="repository.daysOlder">
<field-validator type="int"> <field-validator type="int">
<param name="min">0</param> <param name="min">0</param>
<param name="max">1000</param> <message>Repository Purge By Days Older Than needs to be larger than ${min}.</message>
<message>Repository Purge By Days Older Than needs to be between ${min} and ${max}.</message>
</field-validator> </field-validator>
</field> </field>
</validators> </validators>

View File

@ -25,8 +25,7 @@
<field name="rowCount"> <field name="rowCount">
<field-validator type="int"> <field-validator type="int">
<param name="min">10</param> <param name="min">10</param>
<param name="max">5000</param> <message>Row count must be larger than ${min}.</message>
<message>Row count must be between ${min} and ${max}.</message>
</field-validator> </field-validator>
</field> </field>
<!-- <!--