cancel
Showing results for 
Search instead for 
Did you mean: 

How to desable Right Click Menu List

klebervz_
Confirmed Champ
Confirmed Champ

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

2 REPLIES 2

Vladimir_Pasqui
Star Collaborator
Star Collaborator

Hi,

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>

at the template bottom.

Thanks for your feedback

Thanks for the help