Contribution org.nuxeo.platform.TemplateSources.actions--filters
In component org.nuxeo.platform.TemplateSources.actions
org.nuxeo.platform.TemplateSources.actions
inside nuxeo-template-rendering-jsf-9.10.jar /OSGI-INF/actions-contrib.xml
This contribution is part of XML component Extension Point
Extension point filters of component ActionService.Contributed Items
XML Source
<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">
<filter id="is_creating_template">
<rule grant="true">
<condition>#{changeableDocument.type == 'TemplateSource'}</condition>
</rule>
</filter>
<filter id="is_creating_template_instance">
<rule grant="true">
<condition>#{changeableDocument.hasFacet('TemplateBased')}</condition>
</rule>
</filter>
<filter id="is_not_creating_template">
<rule grant="false">
<condition>#{changeableDocument.type == 'TemplateSource'}</condition>
</rule>
<rule grant="false">
<condition>#{changeableDocument.hasFacet('TemplateBased')}</condition>
</rule>
</filter>
</extension>