- Refactored submit dialog to use 2 transactions so that link validation can occur succesfully

- Check links checkbox now only shown if there are workflows configured
- Changed a couple of labels

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2007-06-27 09:50:26 +00:00
parent 678dff7539
commit 524faba1cd

View File

@@ -107,13 +107,7 @@ public class AVMSubmitLinkChecker extends JBPMSpringActionHandler
HrefValidationProgress monitor = new HrefValidationProgress();
Map<String, Serializable> args = new HashMap<String, Serializable>(1, 1.0f);
args.put(LinkValidationAction.PARAM_MONITOR, monitor);
// TODO: determine what should happen here, comparing against staging
// does not work as the webapp is not virtualised yet so workflow
// always goes straight to 'review'. Temporarily removed the flag
// so just the workflow store gets checked.
// args.put(LinkValidationAction.PARAM_COMPARE_TO_STAGING, Boolean.TRUE);
args.put(LinkValidationAction.PARAM_COMPARE_TO_STAGING, Boolean.TRUE);
Action action = this.fActionService.createAction(LinkValidationAction.NAME, args);
this.fActionService.executeAction(action, webappPathRef, false, false);