I don't think this was ever answered, so if you haven't found the solution yet, 
the dialog is invoked from WorkflowWebsiteTree.js that is part of the 
magnolia-workflow-x.y.z.jar and the names of the dialog for 
activation/deactivation are indeed hardcoded.

If you want to use same dialog for all workflows then it is simple, just change 
existing dialog. If you want to have different dialog for different workflows, 
you have 2 options (that i can think of right now):
- write your own dialog handler and set it by adding node data "class" to the 
startActivationWorkflow dialog. The handler would need to show different fields 
(or tabs) based on what content was invoked, so it would also need to be able 
to distinguish which workflow should be invoked from the content path to show 
the proper dialog.
- the better solution seems to write your own tree configuration class and set 
it at config:/modules/adminInterface/trees/website/configurationClass and have 
that class to invoke your own javascript displaying different dialogs as 
necessary. You can look at the current WebsiteWorkflowTreeConfiguration class 
to see how it invokes dialog together with the js file mentioned above.

HTH,
Jan

On Jan 31, 2011, at 5:19 PM, Lee Haslup wrote:

> 
> I am working on a website that will require a 6-eyes workflow for some 
> content (as opposed to the 4-eyes standard workflow that is present in the 
> distribution) but may also require the standard 4-eyes workflow for other 
> material.  My idea was to deploy the 6-eyes workflow as a separate parallel 
> copy of the activation workflow which I would configure in 
> modules.adminInterface.commands.website.activate.startFlow.mappings.  Since 
> my workflow will require information about 'approvers' (who approve the 
> content) as well as 'publishers' (who verify technical soundness and handle 
> release timing issues) it appears that my workflow will require its own 
> dialogs.  I can see that 
> modules.adminInterface.commands.website.activate.startFlow.mappings.dialogName
>  will let me specify my alternative for editActivationWorkItem but I can't 
> seem to find where I would specify an alternative for the 
> startActivationWorkflow dialog.  Is it configurable?  Alternatively, can I use
> the same startActivationWorkflow dialog for both workflows since the 
> information applies equally to both?  How would I set that up?
> 
> Thanks,
> 
> Lee Haslup
> 
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to