]> source.dussan.org Git - archiva.git/commitdiff
[MRM-764] default policies are not selected in the add proxy connector page
authorBrett Porter <brett@apache.org>
Thu, 3 Apr 2008 07:32:33 +0000 (07:32 +0000)
committerBrett Porter <brett@apache.org>
Thu, 3 Apr 2008 07:32:33 +0000 (07:32 +0000)
Merged from: r644195

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

archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/include/proxyConnectorForm.jspf

index 9355963e380d489cb6d5985c1ddff7153489c541..52acf5881ce24b8cae630b22ad1974d9b24c3450 100644 (file)
             </ww:label>
           </td>
           <td>
+            <c:set var="value">
+              <ww:property id="value" value="connector.policies['${policy.key}']" default="${policy.value.defaultOption}" />
+            </c:set>
             <ww:select name="connector.policies['${policy.key}']"
                        list="policyMap['${policy.key}'].options"
-                       value="connector.policies['${policy.key}']"
+                       value="'${value}'"
                        id="policy_${policy.key}"
                        theme="simple"
                        cssStyle="width: 10em"/>