fixed an issue with checkboxes not saving values correctly when editting repositoriesarchiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/ConfigureRepositoryAction.java

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541725 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jesse McConnell 2007-05-25 17:15:56 +00:00
parent 701945429f
commit 5a681a15c9
1 changed files with 4 additions and 3 deletions

View 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"/>