mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge of all UI clustering changes originally applied to 2.2
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -48,10 +48,12 @@ import org.alfresco.web.ui.common.Utils;
|
||||
/**
|
||||
* Bean implementation for the "Run Action" wizard.
|
||||
*
|
||||
* @author gavinc
|
||||
* @author gavinc
|
||||
*/
|
||||
public class RunActionWizard extends BaseActionWizard
|
||||
{
|
||||
private static final long serialVersionUID = 975435581009378899L;
|
||||
|
||||
protected boolean checkinActionPresent = false;
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
@@ -91,12 +93,12 @@ public class RunActionWizard extends BaseActionWizard
|
||||
}
|
||||
|
||||
// add the action to the rule
|
||||
Action action = this.actionService.createAction(actionName);
|
||||
Action action = this.getActionService().createAction(actionName);
|
||||
action.setParameterValues(repoActionParams);
|
||||
|
||||
// execute the action on the current document node
|
||||
NodeRef nodeRef = new NodeRef(Repository.getStoreRef(), this.parameters.get("id"));
|
||||
this.actionService.executeAction(action, nodeRef);
|
||||
this.getActionService().executeAction(action, nodeRef);
|
||||
}
|
||||
|
||||
return outcome;
|
||||
@@ -108,7 +110,7 @@ public class RunActionWizard extends BaseActionWizard
|
||||
if (this.actions == null)
|
||||
{
|
||||
NodeRef nodeRef = new NodeRef(Repository.getStoreRef(), this.parameters.get("id"));
|
||||
List<ActionDefinition> ruleActions = this.actionService.getActionDefinitions(nodeRef);
|
||||
List<ActionDefinition> ruleActions = this.getActionService().getActionDefinitions(nodeRef);
|
||||
this.actions = new ArrayList<SelectItem>();
|
||||
for (ActionDefinition ruleActionDef : ruleActions)
|
||||
{
|
||||
|
Reference in New Issue
Block a user