As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi,
How can I disable this action Right Click the list of documents? This may get me in trouble.
http://doc.nuxeo.com/display/USERDOC/Browsing+Tips?src=search
We cannot disable easily context menus in the platform. Therefore, this ticket https://jira.nuxeo.com/browse/NXP-13293 has been created in that purpose.
Now, as a workaround, you can override related templates according to areas:
nuxeo-platform-webapp/src/main/resources/web/nuxeo.war/incl/tree_explorer.xhtml for left panel (tree) nuxeo-platform-webapp-base/src/main/resources/web/nuxeo.war/incl/documents_layout_table.xhtml for content views (grids)
To disable the menu, you can remove/comment:
<ui:include src="/incl/popupMenu.xhtml"> <ui:param name="popupMenuId" value="#{formId}" /> </ui:include> .... setupContextMenu(...);
at the template bottom.
Thanks for your feedback
Thanks for the help