Hi
I have component specific client libs and I have given the categories cq.authoring.dialog. I have written few methods in js . But the same are getting applied for all dialogs present on the page.
But that should be applied only for that particular dialog. Could you please let me know how to achieve. Please provide one example.
Solved! Go to Solution.
Views
Replies
Total Likes
Documentation:- https://docs.adobe.com/docs/en/aem/6-2/develop/components/components-touch-optimized.html
~kautuk
Views
Replies
Total Likes
cq.authoring.dialog is a global category and applies to all Touch UI dialogs.
Views
Replies
Total Likes
Views
Replies
Total Likes
The below link explains a good example on how to write js for events, such as a validator. It explains the concept of the extraClientLib
https://docs.adobe.com/ddc/en/gems/customizing-dialog-fields-in-touch-ui.html
Views
Replies
Total Likes
I have gone through the adobe document and the link mentioned here. But I was not able to understand the property value to be given for extraClientLibs and how to use it. Please give me an example.
Like extraClientlibs value to be given is ----
and where to use it and how to use it.
Thank you
Views
Replies
Total Likes
Documentation:- https://docs.adobe.com/docs/en/aem/6-2/develop/components/components-touch-optimized.html
~kautuk
Views
Replies
Total Likes
Hi kautuk, could you help me where I can configure the Touch UI?thank you so much for sharing.
Views
Replies
Total Likes
kautuksahni wrote...
see below snippet
cq: dialog: {
jcr: primaryType: "nt:unstructured",
jcr: title: "Page",
extraClientlibs: ["category1","category2"],
mode: "edit",
sling: resourceType: "cq/gui/components/authoring/dialog"
}
Documentation:- https://docs.adobe.com/docs/en/aem/6-2/develop/components/components-touch-optimized.html
~kautuk
It worked for me.
Thanks
Views
Replies
Total Likes
Hi,
In fact I spent some time trying to make the property "extraClientLibs
" work. Just to realized that in Adobe documentation they made a mistake, because they wrote the property "extraClientLibs
" instead of "extraClientlibs
".
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies