From a722c278af07c853c4c04fc7aaf4b257990669f0 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Mon, 23 Mar 2009 17:14:35 +0000 Subject: [PATCH] updated to use form field databinding git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16485 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/scm/browsers/Sventon.java | 2 +- .../resources/hudson/scm/browsers/Sventon/config.jelly | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/core/src/main/java/hudson/scm/browsers/Sventon.java b/core/src/main/java/hudson/scm/browsers/Sventon.java index 6fb8b358c4..29340b5b43 100644 --- a/core/src/main/java/hudson/scm/browsers/Sventon.java +++ b/core/src/main/java/hudson/scm/browsers/Sventon.java @@ -122,7 +122,7 @@ public class Sventon extends SubversionRepositoryBrowser { /** * Performs on-the-fly validation of the URL. */ - public FormValidation doCheck(@AncestorInPath AbstractProject project, @QueryParameter(fixEmpty=true) final String value) throws IOException, ServletException { + public FormValidation doCheckUrl(@AncestorInPath AbstractProject project, @QueryParameter(fixEmpty=true) final String value) throws IOException, ServletException { if(!project.hasPermission(Item.CONFIGURE)) return FormValidation.ok(); // can't check if(value==null) // nothing entered yet return FormValidation.ok(); diff --git a/core/src/main/resources/hudson/scm/browsers/Sventon/config.jelly b/core/src/main/resources/hudson/scm/browsers/Sventon/config.jelly index ac3e599177..b6bfac54a2 100644 --- a/core/src/main/resources/hudson/scm/browsers/Sventon/config.jelly +++ b/core/src/main/resources/hudson/scm/browsers/Sventon/config.jelly @@ -24,15 +24,9 @@ THE SOFTWARE. - - - - - - - + - + \ No newline at end of file