mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. List of available workflows for WCM wizards now come from configured list
- added new wcm specific client config file: web-client-config-wcm.xml - only the workflows as defined in the WCM client config file are now shown in the various wizards - the upside is that workflows not compatible with AVM objects are no longer shown - the downside is that when new workflows are deployed in the system they must be added to the config file git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4725 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -643,9 +643,8 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
*/
|
||||
public List<UIListItem> getWorkflowList()
|
||||
{
|
||||
// TODO: add list of workflows from config
|
||||
// @see org.alfresco.web.wcm.FormDetailsDialog#getWorkflowList()
|
||||
List<WorkflowDefinition> workflowDefs = this.workflowService.getDefinitions();
|
||||
// get list of workflows from config definitions
|
||||
List<WorkflowDefinition> workflowDefs = AVMWorkflowUtil.getConfiguredWorkflows();
|
||||
List<UIListItem> items = new ArrayList<UIListItem>(workflowDefs.size());
|
||||
for (WorkflowDefinition workflowDef : workflowDefs)
|
||||
{
|
||||
|
Reference in New Issue
Block a user