dynamic checkbox in cq:dialog

Avatar

Avatar

gazzalm54335496

Avatar

gazzalm54335496

gazzalm54335496

06-10-2016

Hi,

I have a requirement of getting Users as checkbox options for a selected group.

I have one dropdown in which groups are listed. On selection of a group, it is calling a servlet which returns json object containing all the users of that group. I am able to load the users in dropdown in cq:dialog. But requirement is to have the checkbox for the users.

Could someone advice some hints how to achieve this?

Replies

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

10-10-2016

Hi

Please have a look at this community article:

Link:- http://jenikya.com/blog/2013/04/dynamic-dialog-data-in-cq5.html

[img]http://jenikya.com/blog/cq5states.jpg[/img]

To

[img]http://jenikya.com/blog/cq5states-check.jpg[/img]

 

I hope this would help you.

~kautuk

Avatar

Avatar

gazzalm54335496

Avatar

gazzalm54335496

gazzalm54335496

10-10-2016

Thanks, But It doesn't work in Touch UI dialog.

Avatar

Avatar

riteshm19780411

Avatar

riteshm19780411

riteshm19780411

19-09-2017

Hi,

I am also having same requirement. Please let me know if you resolved this.

Avatar

Avatar

riyam79802614

Avatar

riyam79802614

riyam79802614

14-07-2020

Hi, 

I have same use case to develop. Please suggest if you have achieved this. Any help would work. 

 

Regards,

Riya