]> source.dussan.org Git - archiva.git/commitdiff
fixed an issue with checkboxes not saving values correctly when editting repositories...
authorJesse McConnell <jmcconnell@apache.org>
Fri, 25 May 2007 17:15:56 +0000 (17:15 +0000)
committerJesse McConnell <jmcconnell@apache.org>
Fri, 25 May 2007 17:15:56 +0000 (17:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541725 13f79535-47bb-0310-9956-ffa450edef68

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

index a2538d0b048acffddcaad43c6a2ef7d18d091f2a..550de1b1bdb5b13b21a1289312a56913a7be0d4d 100644 (file)
@@ -24,6 +24,7 @@
 <ww:select list="#@java.util.LinkedHashMap@{'default' : 'Maven 2.x Repository', 'legacy' : 'Maven 1.x Repository'}"
            name="repository.layout" label="Type"/>
 <ww:textfield name="repository.refreshCronExpression" label="Cron" size="40" required="true" />
-<ww:checkbox name="repository.releases" label="Releases Included"/>
-<ww:checkbox name="repository.snapshots" label="Snapshots Included"/>
-<ww:checkbox name="repository.indexed" label="Scannable"/>
+<ww:checkbox name="repository.releases" value="previousRepoConfig.releases" label="Releases Included"/>
+<ww:checkbox name="repository.snapshots" value="previousRepoConfig.snapshots" label="Snapshots Included"/>
+<ww:checkbox name="repository.indexed" value="previousRepoConfig.indexed" label="Scannable"/>