Dear AEM community,
Trying to render component with the disabled WCMMode e.g.
<span class="component-floating-label">${'root.author.omniture.reference.name' @ i18n}</span> <div data-sly-list.item="${reference.list}"> <div>${item}</div> <sly data-sly-resource="${reference.list}.html" @resourceType="apps/omniture-v2/components/content/suggests", wcmmode="disabled" /> </div>
The example provided renders component as it should, but does not adhere to making component wcmmode=disabled, e.g. non author-able.
How to make the component non-author-able, disabled?
Thanks,
Peter
Views
Replies
Total Likes
Hi
"<article data-sly-resource="${'path/to/resource' @ wcmmode='disabled'}"></article>" should have worked.
I would like you to wait for internal team to answer this.
~kautuk
Views
Replies
Total Likes
Is there any update on this ?
Views
Replies
Total Likes
try this:
<sly data-sly-resource="${ 'text' @ resourceType='wcm/foundation/components/text', wcmmode='disabled'}" ></sly>
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies