Hi,
Has the mechanism to hide tabs changed recently?
I have a plugin that I'm deploying simply to hide the Archive tab but
all I'm getting is a duplicate Archive tab (It used to work on an
earlier build).
I've tried by setting the enabled attribute to false and by extending
the 'false' grant rule to include all document types - but with no success.
<action id="TAB_CONTENT_ARCHIVE"
link="/incl/tabs/document_archive.xhtml" enabled="false"
label="action.view.archive" icon="/icons/file.gif" order="120">
<category>VIEW_ACTION_LIST</category>
<filter-id>view_content_archive</filter-id>
<filter-id>mutable_document</filter-id>
</action>
and
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="filters">
<filter id="view_content_archive">
<rule grant="false">
<type>WorkspaceRoot</type>
<type>Workspace</type>
<type>SectionRoot</type>
<type>Section</type>
<type>Domain</type>
<type>Server</type>
<type>Folder</type>
<type>File</type>
<type>Note</type>
<type>Forum</type>
</rule>
</filter>
</extension>
Any ideas what I'm doing wrong?
Thanks,
Sean
--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm