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
This commit is contained in:
kohsuke committed 2009-03-23 17:14:35 +00:00
1 parent 7138ab22b2
commit a722c278af
2 files changed
+3 -9

No files matched your search

@@ -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();