* before reading it from the registry.
* </p>
*/
-@Service( "archivaConfiguration#default" )
+@Service ( "archivaConfiguration#default" )
public class DefaultArchivaConfiguration
implements ArchivaConfiguration, RegistryListener
{
* Plexus registry to read the configuration from.
*/
@Inject
- @Named( value = "commons-configuration" )
+ @Named ( value = "commons-configuration" )
private Registry registry;
@Inject
return configuration;
}
- @SuppressWarnings( "unchecked" )
+ @SuppressWarnings ( "unchecked" )
private Configuration load()
{
// TODO: should this be the same as section? make sure unnamed sections still work (eg, sys properties)
return registry.getSubset( KEY );
}
- @SuppressWarnings( "unchecked" )
+ @SuppressWarnings ( "unchecked" )
public synchronized void save( Configuration configuration )
throws IndeterminateConfigurationException, RegistryException
{
{{if update}}
<span class="uneditable-input">${$data.managedRepository.id}</span>
{{else}}
- <input type="text" class="xlarge required" id="id" name="id" size="50"
+ <input type="text" class="input-xlarge required" id="id" name="id" size="50"
data-bind="value: managedRepository.id,css:{'uneditable-input': update},readonly:update"/>
{{/if}}
</div>
<div class="control-group">
<label class="control-label" for="name">${$.i18n.prop('name')}</label>
<div class="controls">
- <input type="text" class="xlarge required" id="name" name="name" size="50"
+ <input type="text" class="input-xlarge required" id="name" name="name" size="50"
data-bind="value: managedRepository.name"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="location">${$.i18n.prop('directory')}</label>
<div class="controls">
- <input type="text" class="xlarge required" id="location" name="location" size="50" data-bind="value: managedRepository.location"/>
+ <input type="text" class="input-xxlarge required" id="location" name="location" size="50" data-bind="value: managedRepository.location"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="indexDirectory">${$.i18n.prop('index.directory')}</label>
<div class="controls">
- <input type="text" class="xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: managedRepository.indexDirectory"/>
+ <input type="text" class="input-xxlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: managedRepository.indexDirectory"/>
</div>
</div>
<div class="control-group">
{{if update}}
<span class="uneditable-input">${$data.remoteRepository.id}</span>
{{else}}
- <input type="text" class="xlarge required" id="id" name="id" size="50"
+ <input type="text" class="input-xlarge required" id="id" name="id" size="50"
data-bind="value: remoteRepository.id,css:{'uneditable-input': update},readonly:update"/>
{{/if}}
</div>
<div class="control-group">
<label class="control-label" for="name">${$.i18n.prop('name')}</label>
<div class="controls">
- <input type="text" class="xlarge required" id="name" name="name" size="50"
+ <input type="text" class="input-xlarge required" id="name" name="name" size="50"
data-bind="value: remoteRepository.name"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="url">${$.i18n.prop('url')}</label>
<div class="controls">
- <input type="text" class="xlarge required" id="url" name="location" size="50" data-bind="value: remoteRepository.url"/>
+ <input type="text" class="input-xxlarge required" id="url" name="location" size="50" data-bind="value: remoteRepository.url"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="userName">${$.i18n.prop('username')}</label>
<div class="controls">
- <input type="text" class="xlarge" id="userName" name="userName" size="50" data-bind="value: remoteRepository.indexDirectory"/>
+ <input type="text" class="input-xlarge" id="userName" name="userName" size="50" data-bind="value: remoteRepository.indexDirectory"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="password">${$.i18n.prop('password')}</label>
<div class="controls">
- <input type="password" class="xlarge" id="password" name="password" size="50" data-bind="value: remoteRepository.password"/>
+ <input type="password" class="input-xlarge" id="password" name="password" size="50" data-bind="value: remoteRepository.password"/>
</div>
</div>
<div class="control-group">
<div class="control-group">
<label class="control-label" for="remoteIndexUrl">${$.i18n.prop('remoteIndexUrl')}</label>
<div class="controls">
- <input type="text" id="remoteIndexUrl" name="remoteIndexUrl" size="5" data-bind="value: remoteRepository.remoteIndexUrl"/>
+ <input type="text" class="input-xxlarge" id="remoteIndexUrl" name="remoteIndexUrl" size="5" data-bind="value: remoteRepository.remoteIndexUrl"/>
</div>
</div>
<div class="control-group">
<div class="control-group">
<label class="control-label" for="indexDirectory">${$.i18n.prop('index.directory')}</label>
<div class="controls">
- <input type="text" class="xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: remoteRepository.indexDirectory"/>
+ <input type="text" class="input-xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: remoteRepository.indexDirectory"/>
</div>
</div>
<div class="control-group">