logo       

Re: Tab ordering: msg#00298

cms.nuxeo.general

Subject: Re: Tab ordering

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: at-CQNGlVZ5l00AvxtiuMwx3w@xxxxxxxxxxxxxxxx - Tel: +33 (0)1 40 33 79 87
http://www.nuxeo.com - http://www.nuxeo.org


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise