Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.publisher.web.actions--actions

This contribution is part of XML component org.nuxeo.ecm.platform.publisher.web.actions inside nuxeo-platform-publisher-web-5.6.jar

Extension point

Extension point actions of component ActionService.

Contributed items

  • <action icon="" id="CURRENT_SELECTION_UNPUBLISH" label="command.document.unpublish" link="#{publishActions.unpublishDocumentsFromCurrentSelection}">
          <category>CURRENT_SELECTION_SECTIONS_LIST</category>
          <filter id="can_unpublish">
            <rule grant="true">
              <permission>AddChildren</permission>
              <type>SectionRoot</type>
              <type>Section</type>
              <condition>#{documentActions.canUnpublish}</condition>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/action_publish.gif" id="WORKLIST_PUBLISH" label="command.clipboard.publish" link="#{publishActions.publishWorkList()}">
          <category>DEFAULT_LIST</category>
          <filter id="canPublishWorkList">
            <rule grant="false">
              <condition>#{clipboardActions.workListEmpty}</condition>
            </rule>
            <rule grant="true">
              <type>Section</type>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/file.gif" id="TAB_PUBLISH" label="action.publish.content" link="/incl/tabs/document_publish.xhtml" order="53">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>publish_document</filter-id>
          <filter-id>mutable_document</filter-id>
        </action>
  • <action icon="/icons/file.gif" id="TAB_ADMIN_PUBLICATION_TREES" label="action.admin.publication.tree" link="/incl/tabs/admin_publication_trees.xhtml" order="110">
          <category>TAB_MANAGE_sub_tab</category>
          <filter-id>admin_publication_trees_filter</filter-id>
        </action>

XML source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action icon="" id="CURRENT_SELECTION_UNPUBLISH" label="command.document.unpublish" link="#{publishActions.unpublishDocumentsFromCurrentSelection}">
      <category>CURRENT_SELECTION_SECTIONS_LIST</category>
      <filter id="can_unpublish">
        <rule grant="true">
          <permission>AddChildren</permission>
          <type>SectionRoot</type>
          <type>Section</type>
          <condition>#{documentActions.canUnpublish}</condition>
        </rule>
      </filter>
    </action>

    <action icon="/icons/action_publish.gif" id="WORKLIST_PUBLISH" label="command.clipboard.publish" link="#{publishActions.publishWorkList()}">
      <category>DEFAULT_LIST</category>
      <filter id="canPublishWorkList">
        <rule grant="false">
          <condition>#{clipboardActions.workListEmpty}</condition>
        </rule>
        <rule grant="true">
          <type>Section</type>
        </rule>
      </filter>
    </action>

    <action icon="/icons/file.gif" id="TAB_PUBLISH" label="action.publish.content" link="/incl/tabs/document_publish.xhtml" order="53">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>publish_document</filter-id>
      <filter-id>mutable_document</filter-id>
    </action>

    <action icon="/icons/file.gif" id="TAB_ADMIN_PUBLICATION_TREES" label="action.admin.publication.tree" link="/incl/tabs/admin_publication_trees.xhtml" order="110">
      <category>TAB_MANAGE_sub_tab</category>
      <filter-id>admin_publication_trees_filter</filter-id>
    </action>

  </extension>