Use RequestEvaluator.invokeDirectFunction() rather than ScriptingEngine.invoke()

This commit is contained in:
hns 2004-06-08 15:42:51 +00:00
parent 38ef27fbce
commit 6f8907c6bd

View file

@ -485,9 +485,9 @@ public final class Skin {
// arguments[0] = new SystemMap(parameters); // arguments[0] = new SystemMap(parameters);
} }
Object value = reval.scriptingEngine.invoke(handlerObject, Object value = reval.invokeDirectFunction(handlerObject,
funcName, arguments, funcName,
false); arguments);
// check if macro wrote out to response buffer // check if macro wrote out to response buffer
if (buffer.length() == (bufLength + preLength)) { if (buffer.length() == (bufLength + preLength)) {