From ac7ceec50ced0596e34fc92f9208b9adcd4ab81c Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Thu, 20 Mar 2008 13:25:22 +0000 Subject: [PATCH] [MRM-598] avoid javascript validation errors by removing upper limits that aren't that useful anyway git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@639284 13f79535-47bb-0310-9956-ffa450edef68 --- ...roxyAction-saveNetworkProxy-validation.xml | 5 +++- .../AddManagedRepositoryAction-validation.xml | 23 +++++++++---------- ...EditManagedRepositoryAction-validation.xml | 23 +++++++++---------- .../GenerateReportAction-validation.xml | 5 ++-- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/networkproxies/ConfigureNetworkProxyAction-saveNetworkProxy-validation.xml b/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/networkproxies/ConfigureNetworkProxyAction-saveNetworkProxy-validation.xml index 401708c3a..eccd629f4 100644 --- a/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/networkproxies/ConfigureNetworkProxyAction-saveNetworkProxy-validation.xml +++ b/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/networkproxies/ConfigureNetworkProxyAction-saveNetworkProxy-validation.xml @@ -50,8 +50,11 @@ 1 + + Port needs to be larger than ${min} - \ No newline at end of file + diff --git a/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/repositories/AddManagedRepositoryAction-validation.xml b/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/repositories/AddManagedRepositoryAction-validation.xml index 0852feab1..23f4cb495 100644 --- a/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/repositories/AddManagedRepositoryAction-validation.xml +++ b/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/repositories/AddManagedRepositoryAction-validation.xml @@ -38,17 +38,16 @@ - - 1 - 100 - Repository Purge By Retention Count needs to be between ${min} and ${max}. - + + 1 + 100 + Repository Purge By Retention Count needs to be between ${min} and ${max}. + - - - 0 - 1000 - Repository Purge By Days Older Than needs to be between ${min} and ${max}. - + + + 0 + Repository Purge By Days Older Than needs to be larger than ${min}. + - \ No newline at end of file + diff --git a/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryAction-validation.xml b/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryAction-validation.xml index 1c3997ce5..4ce434a43 100644 --- a/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryAction-validation.xml +++ b/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryAction-validation.xml @@ -38,17 +38,16 @@ - - 1 - 100 - Repository Purge By Retention Count needs to be between ${min} and ${max}. - + + 1 + 100 + Repository Purge By Retention Count needs to be between ${min} and ${max}. + - - - 0 - 1000 - Repository Purge By Days Older Than needs to be between ${min} and ${max}. - + + + 0 + Repository Purge By Days Older Than needs to be larger than ${min}. + - \ No newline at end of file + diff --git a/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/reports/GenerateReportAction-validation.xml b/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/reports/GenerateReportAction-validation.xml index 75e11aa55..a31c0652d 100644 --- a/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/reports/GenerateReportAction-validation.xml +++ b/archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/reports/GenerateReportAction-validation.xml @@ -25,8 +25,7 @@ 10 - 5000 - Row count must be between ${min} and ${max}. + Row count must be larger than ${min}.