mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Yet another merge from head to WCM-DEV2.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -447,6 +447,17 @@ public class StartWorkflowWizard extends BaseWizardBean
|
||||
new String[] {workflowName});
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines whether there are any workflows to start
|
||||
* @return
|
||||
*/
|
||||
public boolean getHasStartableWorkflows()
|
||||
{
|
||||
// get the list of startable workflow, this will intialise the list if necessary
|
||||
List<SelectItem> workflows = getStartableWorkflows();
|
||||
return (workflows.size() > 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of workflows that can be started.
|
||||
*
|
||||
|
Reference in New Issue
Block a user