String xmlResource = ScreenFactory.getResourceNameFromCombined(location);
String methodName = ScreenFactory.getScreenNameFromCombined(location);
Map<String, Object> localContext = FastMap.newInstance();
localContext.putAll(context);
DispatchContext ctx = this.modelScreen.getDispatcher(context).getDispatchContext();
MethodContext methodContext = new MethodContext(ctx, localContext, null);
try {
SimpleMethod.runSimpleMethod(xmlResource, methodName, methodContext);
context.putAll(methodContext.getResults());
} catch (MiniLangException e) {
throw new GeneralException("Error running simple method at location [" + location + "]", e);
}
} else {
throw new GeneralException("For screen script actions the script type is not yet supported for location: [" + location + "]");