]> source.dussan.org Git - archiva.git/commitdiff
[MRM-750] Adding a network proxy doesn't require an identifier
authorBrett Porter <brett@apache.org>
Wed, 26 Mar 2008 22:56:42 +0000 (22:56 +0000)
committerBrett Porter <brett@apache.org>
Wed, 26 Mar 2008 22:56:42 +0000 (22:56 +0000)
Submitted by: John Michael Luy

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@641625 13f79535-47bb-0310-9956-ffa450edef68

archiva-1.0.x/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/networkproxies/ConfigureNetworkProxyAction-saveNetworkProxy-validation.xml

index eccd629f4dd774d2adcde3c82b984e550fbd1349..5e39f8d7e5178281eb38185e74f25b14a0b5874b 100644 (file)
 
 <validators>
   <field name="proxy.id">
+    <field-validator type="requiredstring">
+      <param name="trim">true</param>
+      <message>You must enter an identifier.</message>
+    </field-validator>
     <field-validator type="stringlength">
       <param name="minLength">4</param>
       <param name="maxLength">45</param>