summary tab

I have defined a custom document in Java which works perfectly. How can I add a “Summary” tab? My code is not working.

 <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
  <action id="TAB_VIEW_FOLDERISH" link="/incl/tabs/document_view.xhtml" order="11" label="action.view.summary" icon="/icons/file.gif">
      <category>VIEW_ACTION_LIST</category>
      <filter id="viewTabForFolderish">
        <rule grant="true">
          <type>MyDocument</type>
        </rule>
      </filter>
    </action>
  </extension>
0 votes

1 answers

962 views

ANSWER



Did you see your contribution registered?

You must see in logs something like:

Component activated: theNameOfYourComponent

Is your component name unique?

Do you have ERROR or WARN in logs around this contribution?

0 votes



Fixed. I removed the folderlish facet and granted the TAB_VIEW
12/20/2011

Your document type can be a folderish and have this tab displayed… Your contribution seems good. Maybe the name of the component was duplicated that will explain your contribution was not deployed. But if it's good for you it's good enough :)
12/20/2011