mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Added workflow history to completed task dialog (allows user to see what happened through completed workflows)
- Fixed errors emitted from completed WCM workflows - Toned down the appearance of workflow selection in the submit dialog git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -575,10 +575,15 @@ public class SubmitDialog extends BaseDialogBean
|
||||
WorkflowDefinition workflowDef = this.workflowService.getDefinitionByName(wrapper.name);
|
||||
UIListItem item = new UIListItem();
|
||||
item.setValue(workflowDef.getName());
|
||||
item.setLabel(workflowDef.getTitle());
|
||||
item.setDescription(workflowDef.getDescription());
|
||||
item.setImage(WebResources.IMAGE_WORKFLOW_32);
|
||||
String label = workflowDef.getTitle();
|
||||
String desc = workflowDef.getDescription();
|
||||
if (desc != null && desc.length() > 0)
|
||||
{
|
||||
label = label + "(" + desc + ")";
|
||||
}
|
||||
item.setLabel(label);
|
||||
items.add(item);
|
||||
|
||||
// add first workflow as default selection
|
||||
if (workflowSelectedValue == null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user