- More workflow features

- Added single select capability to generic picker
- Fixed NPE in client (create rule wizard) due to missing messages

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2006-08-25 11:02:16 +00:00
parent 2a7eaf7cfb
commit 5257546c9c
35 changed files with 675 additions and 43 deletions

View File

@@ -196,7 +196,12 @@ public abstract class BaseActionWizard extends BaseWizardBean
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