- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2011 11:40 AM
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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2011 07:14 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2011 07:14 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2011 07:28 AM
Fixed. I removed the folderlish facet and granted the TAB_VIEW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2011 08:49 AM
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
