this.parentDialogId = parentDialogId;
// Create a working instance of the state machine for this dialog, but do not
// set it in motion
this.executor = new SCXMLExecutor(new ShaleDialogELEvaluator(),
new SimpleDispatcher(), new SimpleErrorReporter());
SCXML statemachine = dialog.getStateMachine();
this.executor.setStateMachine(statemachine);
Context rootCtx = new ShaleDialogELContext();
rootCtx.setLocal(Globals.DIALOG_PROPERTIES, new DialogProperties());
this.executor.setRootContext(rootCtx);