The tab is not displayed for all types by default, only File and Note.
You have to extend the filter <filter id="view_review"> to add your
document types. Or redefine the action TAB_CONTENT_REVIEW.
Florent
On 5 Mar 2008, at 11:47, Romain FERE wrote:
Hi all,
Here is the code of my workflow-contrib.xml (added in my Manifest) :
<?xml version="1.0"?>
<component name="com.asyres.dev.workflow-contrib">
<extension
target="org.nuxeo.ecm.platform.workflow.service.WorkflowService"
point="definition">
<definition>
<engineName>jbpm</engineName>
<mimetype>text/xml</mimetype>
<definitionPath>
workflows/workflow_publication.xml
</definitionPath>
</definition>
</extension>
<extension
target
=
"org
.nuxeo.ecm.platform.workflow.document.service.WorkflowRulesService"
point="docTypeRule">
<docTypeRule docType="File">
<workflowDefinition>
workflow_publication
</workflowDefinition>
</docTypeRule>
<docTypeRule docType="Texte">
<workflowDefinition>
workflow_publication
</workflowDefinition>
</docTypeRule>
</extension>
<extension
target
=
"org
.nuxeo
.ecm
.platform
.workflow.document.service.WorkflowDocumentSecurityPolicyService"
point="workflowDocumentSecurityPolicy">
<workflowDocumentSecurityPolicy name="workflow_publication"
class
=
"org
.nuxeo
.ecm
.platform
.workflow
.document
.security.policy.OrderedReviewWorkflowDocumentSecurityPolicy" />
</extension>
</component>
My problem is : I see the tab workflow on a File type document but
not on a Texte type document.
Any ideas ?
Thanks a lot !!!
--
Romain FERE _______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm