Hi,
the only thing you have to do is to append your custom document types to
filter 'jbpm-process', nothing to do on action 'TAB_CONTENT_JBPM'.
Like this :
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="filters">
<filter id="jbpm-process" append="true">
<rule grant="true">
<type>Documento</type>
<type>Corrispondenza</type>
<type>Incarto</type>
<type>Contabileincarto</type>
</rule>
</filter>
</extension>
Federica Boffa wrote:
Hi,
are 2 days which I would add a tab for workflow in my new doctype...but
I don't see the tab.
There is my code in action-contrib.xml:
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.jbpm.web.actions">
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="TAB_CONTENT_JBPM" link="/incl/tabs/document_process.xhtml"
enabled="true" label="action.view.review" icon="/icons/file.gif"
order="60">
<category>VIEW_ACTION_LIST</category>
<filter id="jbpm-process">
<rule grant="true">
<permission>Read</permission>
<type>File</type>
<type>Note</type>
<type>Documento</type>
<type>Corrispondenza</type>
<type>Incarto</type>
<type>Contabileincarto</type>
</rule>
</filter>
<filter-id>mutable_document</filter-id>
</action>
</extension>
</component>
I haven't write file with lifecycle and workflow-contrib..I would only
view the tab workflow..it is possible?
poin="actions" is right?
Thank you for your precious help!
------------------------------------------------------------------------
Doretta Doretta ti "cerca"! Vieni a trovarla sul suo Spaces!
<http://doretta82live.spaces.live.com/>
------------------------------------------------------------------------
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
--
Vincent Dutat
for any given software, the moment you manage to master it, a new
version appears.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm