Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

extraCLientlibs not working as expected


Level 3

I referred to and tried to created a touch UI component with clientlib named as "test123" , I used same name in my dialog's extraCLientLibs.

But still it's not operating, when I changed the clientlib name to cq.authoring.dialog it worked perfectly fine. This looks bit weird from what stated in video.

Please provide a full fledged working example for creating custom clientlib for my touchUI component dialog, so that the clientlib should be implemented only on specific component, since using clientlib as cq.authoring.dialog makes that clientlibs to work on other touch UI components as well.

3 Replies


Level 10

Hey  - check out this AEM Touch UI article. It will show you use of a ClientLibs and application logic meant for a Touch UI component dialog: It was one of Praveen;s sample.

Hope this helps... 


Level 3

This example is focusing on single component, how we can manage multiple components and their multiple listeners?

In clasic dialog, we were having option to declare listeners at field level of dialogs but in touch UI case we've clietlibs defined under specific component. But the problem here is in each component wherever this clientlib will be used, all respective js files will be called, can't we've a simpler way to declare js which should focus only on specific component.


Level 10

I am lookngi to see if there is an internal blog within Adobe. MOst of the TOuch UI articles use that clientlib - as its best practice.