[ 
https://jira.nuxeo.org/browse/NXP-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=83594#action_83594
 ] 

Stéfane Fermigier commented on NXP-2031:
----------------------------------------

Can we close?

> Custome document type folderish with relations
> ----------------------------------------------
>
>                 Key: NXP-2031
>                 URL: https://jira.nuxeo.org/browse/NXP-2031
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Question
>          Components: Web UI
>            Reporter: Nicolas Lecart
>            Assignee: Thierry Delprat
>            Priority: Major
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> 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: 
https://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

Reply via email to