Initial version of a "copy to web project" action

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2007-03-15 10:49:26 +00:00
parent 83e8cf83b8
commit 0ceb9065ea
12 changed files with 751 additions and 9 deletions

View File

@@ -111,7 +111,12 @@ public class RunActionWizard extends BaseActionWizard
this.actions = new ArrayList<SelectItem>();
for (ActionDefinition ruleActionDef : ruleActions)
{
this.actions.add(new SelectItem(ruleActionDef.getName(), ruleActionDef.getTitle()));
String title = ruleActionDef.getTitle();
if (title == null || title.length() == 0)
{
title = ruleActionDef.getName();
}
this.actions.add(new SelectItem(ruleActionDef.getName(), title));
}
// make sure the list is sorted by the label