diff --git a/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo b/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo index 5e168af44..50380ca10 100644 --- a/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo +++ b/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo @@ -714,7 +714,14 @@ true if find artifacts should be enabled 1.0.0+ boolean - false + true + + + appletFindEnabled + true if applet behavior for find artifacts should be enabled + 1.0.0+ + boolean + true diff --git a/archiva-base/archiva-configuration/src/main/resources/org/apache/maven/archiva/configuration/default-archiva.xml b/archiva-base/archiva-configuration/src/main/resources/org/apache/maven/archiva/configuration/default-archiva.xml index b2ddcddea..3d21ac66e 100644 --- a/archiva-base/archiva-configuration/src/main/resources/org/apache/maven/archiva/configuration/default-archiva.xml +++ b/archiva-base/archiva-configuration/src/main/resources/org/apache/maven/archiva/configuration/default-archiva.xml @@ -169,7 +169,8 @@ - false + true + true diff --git a/archiva-base/archiva-configuration/src/test/conf/repository-manager.xml b/archiva-base/archiva-configuration/src/test/conf/repository-manager.xml index a0ffdf7c6..5cb654aec 100644 --- a/archiva-base/archiva-configuration/src/test/conf/repository-manager.xml +++ b/archiva-base/archiva-configuration/src/test/conf/repository-manager.xml @@ -181,7 +181,8 @@ - false + true + true diff --git a/archiva-base/archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/ArchivaConfigurationTest.java b/archiva-base/archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/ArchivaConfigurationTest.java index 87852e9d8..968166745 100644 --- a/archiva-base/archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/ArchivaConfigurationTest.java +++ b/archiva-base/archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/ArchivaConfigurationTest.java @@ -87,7 +87,8 @@ public class ArchivaConfigurationTest extends PlexusTestCase UserInterfaceOptions ui = (UserInterfaceOptions) webapp.getUi(); assertNotNull( "check webapp ui", ui ); - assertFalse( "check showFindArtifacts", ui.isShowFindArtifacts() ); + assertTrue( "check showFindArtifacts", ui.isShowFindArtifacts() ); + assertTrue( "check appletFindEnabled", ui.isAppletFindEnabled() ); } public void testGetConfigurationSystemOverride() throws Exception diff --git a/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/findArtifact.jsp b/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/findArtifact.jsp index 081407ff9..70f956100 100644 --- a/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/findArtifact.jsp +++ b/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/findArtifact.jsp @@ -56,16 +56,19 @@ + Search for: + + Select the file you would like to locate in the remote repository. The entire file will @@ -81,7 +84,7 @@ width="400" height="20" name="ChecksumApplet"> - +
Select the file you would like to locate in the remote repository. The entire file will @@ -81,7 +84,7 @@ width="400" height="20" name="ChecksumApplet">