| commit | 204b2ee385f3c39a658e4a86352ca33e8be1d5a8 | [log] [tgz] |
|---|---|---|
| author | Eelco Hillenius <ehillenius@apache.org> | Sun Aug 19 23:42:21 2007 +0000 |
| committer | Eelco Hillenius <ehillenius@apache.org> | Sun Aug 19 23:42:21 2007 +0000 |
| tree | 049f90258097a060e66750de29f47798180a38cc | |
| parent | 6f39f420e771b330b2b0ce420a47154ca6d630b2 [diff] |
WICKET-863 git-svn-id: https://svn.apache.org/repos/asf/wicket/trunk@567509 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java b/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java index b9449d7..c013ddc 100644 --- a/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java +++ b/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
@@ -26,6 +26,7 @@ import java.util.Locale; import java.util.Map; +import org.apache.wicket.Application; import org.apache.wicket.Component; import org.apache.wicket.Localizer; import org.apache.wicket.MarkupContainer; @@ -196,7 +197,8 @@ */ public String substitute(String string, Map vars) throws IllegalStateException { - return new MapVariableInterpolator(string, addDefaultVars(vars), true).toString(); + return new MapVariableInterpolator(string, addDefaultVars(vars), Application.get() + .getResourceSettings().getThrowExceptionOnMissingResource()).toString(); } /**