Sean Radford a écrit :
So I guess that it is not possible to have some form of rule that states that if
the document is of type X then the order is 15 else it is 50?
No but you can have two similar actions with a different order, and put
some filters on them so that one is displayed while the other is hidden.
Similarly can you hide a tab for a particular document type? Can this done using
the 'filters' in the action-contrib?
Yes you can do it using a filters that would look like (for instance):
<filter id="workspace_comments">
<rule grant="true">
<type>Workspace</type>
</rule>
</filter>
<filter id="non_workspace_comments">
<rule grant="false">
<type>Workspace</type>
</rule>
</filter>
I added documentation about actions and filters configuration in the
nuxeo book yesterday:
http://doc.nuxeo.org/1.0-SNAPSHOT/reference/html-single/nuxeo-book.html#d81e861
Hope this helps.
Regards,
--
Anahide Tchertchian, Nuxeo
Mail: [EMAIL PROTECTED] - Tel: +33 (0)1 40 33 79 87
http://www.nuxeo.com - http://www.nuxeo.org
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm