introduced a new scheme to the form field validation, that makes the check feel more like a function.

Using it in a few places to begin with

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16459 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-03-22 18:56:36 +00:00
1 parent c44a469e42
commit 6815e73ca7
5 files changed
+286 -142

No files matched your search

+2 -1
View File
@@ -43,6 +43,7 @@ import hudson.util.AWTProblem;
import org.jvnet.localizer.LocaleProvider;
import org.kohsuke.stapler.Stapler;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.jelly.JellyFacet;
import org.apache.tools.ant.types.FileSet;
import javax.naming.Context;
@@ -221,7 +222,7 @@ public final class WebAppMain implements ServletContextListener {
}
public static void installExpressionFactory(ServletContextEvent event) {
Stapler.setExpressionFactory(event, new ExpressionFactory2());
JellyFacet.setExpressionFactory(event, new ExpressionFactory2());
}
/**