Platform Explorer / Nuxeo Platform LTS 2019 10.10

Contribution org.nuxeo.platform.TemplateSources.actions--actions

This contribution is part of XML component org.nuxeo.platform.TemplateSources.actions inside nuxeo-template-rendering-jsf-10.10.jar /OSGI-INF/actions-contrib.xml

Extension Point

Extension point actions of component ActionService.

Registration Order

65
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <action id="CREATE_DOCUMENT">
          <filter-id>is_not_creating_template</filter-id>
        </action>
  • <action id="CREATE_DOCUMENT_TEMPLATE" label="command.create" link="#{templateActions.createTemplate}" order="0">
          <category>CREATE_DOCUMENT_FORM</category>
          <filter-id>is_creating_template</filter-id>
        </action>
  • <action enabled="true" id="TAB_TEMPLATE_PARAMS" label="tab.template.parameters" link="/incl/tabs/template_tab.xhtml" order="55" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter id="view_template_params">
            <rule grant="true">
              <permission>Write</permission>
              <facet>Template</facet>
            </rule>
          </filter>
        </action>
  • <action enabled="true" id="TAB_TEMPLATEBASED_PARAMS" label="tab.template.associated" link="/incl/tabs/templatebased_tab.xhtml" order="55" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter id="view_templatebased_params">
            <rule grant="true">
              <facet>TemplateBased</facet>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/doctemplate.png" id="associateTemplate" label="action.template.associate" order="20" type="fancybox">
          <category>DOCUMENT_UPPER_ACTION</category>
          <properties>
            <property name="include">/associateTemplate.xhtml</property>
          </properties>
          <filter id="canAssociateTemplate">
            <rule grant="false">
              <facet>Template</facet>
              <facet>TemplateBased</facet>
              <facet>Folderish</facet>
            </rule>
          </filter>
        </action>

XML Source

<?xml version='1.0' encoding='UTF-8'?>
<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action id="CREATE_DOCUMENT">
      <filter-id>is_not_creating_template</filter-id>
    </action>

    <action id="CREATE_DOCUMENT_TEMPLATE" label="command.create" link="#{templateActions.createTemplate}" order="0">
      <category>CREATE_DOCUMENT_FORM</category>
      <filter-id>is_creating_template</filter-id>
    </action>

    <action enabled="true" id="TAB_TEMPLATE_PARAMS" label="tab.template.parameters" link="/incl/tabs/template_tab.xhtml" order="55" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter id="view_template_params">
        <rule grant="true">
          <permission>Write</permission>
          <facet>Template</facet>
        </rule>
      </filter>
    </action>

    <action enabled="true" id="TAB_TEMPLATEBASED_PARAMS" label="tab.template.associated" link="/incl/tabs/templatebased_tab.xhtml" order="55" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter id="view_templatebased_params">
        <rule grant="true">
          <facet>TemplateBased</facet>
        </rule>
      </filter>
    </action>

  <action icon="/icons/doctemplate.png" id="associateTemplate" label="action.template.associate" order="20" type="fancybox">
      <category>DOCUMENT_UPPER_ACTION</category>
      <properties>
        <property name="include">/associateTemplate.xhtml</property>
      </properties>
      <filter id="canAssociateTemplate">
        <rule grant="false">
          <facet>Template</facet>
          <facet>TemplateBased</facet>
          <facet>Folderish</facet>
        </rule>
      </filter>
    </action>

  </extension>