if (executor == null) {
throw new AssertionError("no ModuleExecutor defined");
}
String module = parts.get(0).trim();
String method = parts.get(1).trim();
Frame parent = model.getFrame();
try {
Map<String, String> map = getParameters(parts, model);
return executor.run(model, module, method, new Frame(map, parent));
} finally {
model.setFrame(parent);
}
}