For me this works to disable MailFolder type :

===== file types-contrib.xml =====
<?xml version="1.0"?>
<component name="com.adeo.nuxeo.antibugs.types">

        <require>org.nuxeo.ecm.platform.types</require>
        <extension target="org.nuxeo.ecm.platform.types.TypeService" 
point="types">
                <type id="MailFolder" remove="true" />
                <type id="Workspace">
                        <deniedSubtypes>
                                <type>MailFolder</type>
                        </deniedSubtypes>
                </type>

        </extension>
</component>
=====

Be sure you declare your contribution in MANIFEST.MF :
Nuxeo-Component: OSGI-INF/types-contrib.xml
--
Posted by "sebastien.denef" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3344#10097>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to