How to make all the components in age non editable programmatically?
Hi Team,
I have a requirement to disable component dialog so that only the specific group of users can edit. I have 2 components in page. But only one component is getting non-editable. Please find the below code. I have included the below code's WCMUsePojo class at template level but no use. I even kept this in other component but not working. How can I make all the components in a page non-editable? Please suggest.
ComponentContext componentContext = WCMUtils.getComponentContext(getRequest());
componentContext.setDecorate(false);
Thanks in Advance.
AryA