[ 
https://jira.nuxeo.com/browse/NXP-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thierry Delprat resolved NXP-2031.
----------------------------------

    Resolution: Cannot Reproduce

> Custome document type folderish with relations
> ----------------------------------------------
>
>                 Key: NXP-2031
>                 URL: https://jira.nuxeo.com/browse/NXP-2031
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Other (don't use)
>          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.
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