Custome document type folderish with relations
----------------------------------------------
Key: NXP-2031
URL: http://jira.nuxeo.org/browse/NXP-2031
Project: Nuxeo Enterprise Platform 5
Issue Type: Question
Components: Actions
Reporter: Nicolas Lecart
Assignee: Thierry Delprat
Priority: Major
My document type is folderish and I would like to have ability to add relations
for this type.
Looking for a way to do it, would it be correct to override TAB_RELATIONS
ActionService ?
I tried this way but get the following result, 2 tabs relations have appeared
on document (Nuxeo default type) tabs view and none (relation) on my own
"article" document view.
Here is the way I used to override, copying ur extension for relations in my
own actions-contrib.xml (problem or rules ??) :
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="TAB_RELATIONS" link="/incl/tabs/document_relations.xhtml"
enabled="true" label="action.view.relations" order="55">
<category>VIEW_ACTION_LIST</category>
<filter id="view_relations">
<rule grant="true">
<permission>Read</permission>
</rule>
<rule grant="true">
<type>article</type>
</rule>
<rule grant="false">
<facet>Folderish</facet>
</rule>
<rule grant="false">
<type>Server</type>
</rule>
</filter>
</action>
</extension>
Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets