Platform Explorer / CMF 1.8

Component org.nuxeo.ecm.platform.webengine.sites.actions

Contributions

XML Source

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

<component name="org.nuxeo.ecm.platform.webengine.sites.actions">

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

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


    <action id="TAB_WEBVIEW" link="/incl/tabs/workspace_view.xhtml" enabled="true"
      order="30" label="action.webcontainer.preview" icon="/icons/file.gif">
      <category>VIEW_ACTION_LIST</category>
      <filter id="isWebContainer">
        <rule grant="true">
          <facet>WebView</facet>
        </rule>
        <rule grant="false">
          <type>Workspace</type>
        </rule>
      </filter>
    </action>

  </extension>

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

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

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

  </extension>
</component>