/** * Executes the action script using the script handler. * <p> * {@inheritDoc} */ @Override public boolean execute(IActionHandler actionHandler, Map<String, Object> context) { ScriptMixin scriptMixin = new ScriptMixin(this); scriptMixin.setLanguage(scriptLanguage); scriptMixin.setScript(script); context.put(ActionContextConstants.ACTION_PARAM, scriptMixin); return super.execute(actionHandler, context); }
/** * Executes the action script using the script handler. * <p> * {@inheritDoc} */ @Override public boolean execute(IActionHandler actionHandler, Map<String, Object> context) { scriptHandler.execute((IScript) getActionParameter(context), context); return super.execute(actionHandler, context); }
/** * Executes the action script using the script handler. * <p> * {@inheritDoc} */ @Override public boolean execute(IActionHandler actionHandler, Map<String, Object> context) { ScriptMixin scriptMixin = new ScriptMixin(this); scriptMixin.setLanguage(scriptLanguage); scriptMixin.setScript(script); setActionParameter(scriptMixin, context); return super.execute(actionHandler, context); }