Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.webengine.blogs.actions

Services

Extension points

Contributions

XML source

<?xml version="1.0" encoding="UTF-8"?>

<component name="org.nuxeo.webengine.blogs.actions">

  <require>org.nuxeo.ecm.platform.actions</require>

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

    <action id="blogLink" type="bare_link"
      link="#{baseURL}site/blogs/#{currentDocument.webc.url}"
      label="label.blog.view"
      icon="/icons/switch.png"
      order="-10">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>isWebContainer</filter-id>
      <filter-id>isBlog</filter-id>
      <properties>
        <property name="target">_blank</property>
      </properties>
    </action>

  </extension>

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

    <filter id="create" append="true">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>BlogSite</type>
      </rule>
    </filter>

    <filter id="importFile" append="true">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>BlogSite</type>
      </rule>
    </filter>

    <filter id="isBlog" append="true">
      <rule grant="true">
        <type>BlogSite</type>
      </rule>
    </filter>

  </extension>

</component>

Documentation