This commit was manufactured by cvs2svn to create tag

'helma_1_3_0_M2'.
This commit is contained in:
hns 2003-07-09 15:23:31 +00:00
parent 2790dde1b4
commit 3550be37af
2 changed files with 6 additions and 1 deletions

View file

@ -57,7 +57,7 @@ public class FesiActionAdapter {
Reader reader = null; Reader reader = null;
functionName = action.getFunctionName(); functionName = action.getFunctionName().replace('.', '_');
sourceName = action.getSourceName(); sourceName = action.getSourceName();
try { try {

View file

@ -505,6 +505,8 @@ public class FesiEngine implements ScriptingEngine {
} }
} }
functionName = functionName.replace('.', '_');
ESValue retval = eso.doIndirectCall(evaluator, eso, functionName, esv); ESValue retval = eso.doIndirectCall(evaluator, eso, functionName, esv);
if (xmlrpc) { if (xmlrpc) {
@ -572,6 +574,9 @@ public class FesiEngine implements ScriptingEngine {
return false; return false;
} }
// replace '.' with '_' in function name
fname = fname.replace('.', '_');
ESValue func = op.getProperty(fname, fname.hashCode()); ESValue func = op.getProperty(fname, fname.hashCode());
if ((func != null) && func instanceof FunctionPrototype) { if ((func != null) && func instanceof FunctionPrototype) {