Expand my Community achievements bar.

SOLVED

Passing Data from design dialog to dialog

Avatar

Level 7

I have created on cq:designdialog in which I have given one textfield. Now once in the policy that textfield is updated I want that value to appear in dialog properties of textfield node or granite:data.

 

I am unable to do so. Is there any way to do so?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

AEM Core Navigation Component implemented same requirement.

value="${not empty cqDesign.navigationRoot ? cqDesign.navigationRoot : ''}"

https://github.com/adobe/aem-core-wcm-components/blob/main/content/src/content/jcr_root/apps/core/wc... 

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

AEM Core Navigation Component implemented same requirement.

value="${not empty cqDesign.navigationRoot ? cqDesign.navigationRoot : ''}"

https://github.com/adobe/aem-core-wcm-components/blob/main/content/src/content/jcr_root/apps/core/wc... 

Avatar

Community Advisor

I concur, follow the patterns of the Adobe Core Component's Project, and without over-engineering, it will be handled as expected. 

Avatar

Administrator

@Ronnie09 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni