How to fetch property values from page to cq:dilaog | Adobe Higher Education
Skip to main content
Level 4
July 14, 2022
Risolto

How to fetch property values from page to cq:dilaog

  • July 14, 2022
  • 1 risposta
  • 602 visualizzazioni

Hello all, 

I'm trying to create a card component, when I give path of the page it should retrive it's content to the cq:dialog. Can anyone help me with this?

Questo argomento è stato chiuso alle risposte.
Migliore risposta di ShaileshBassi

@tessa_learner1 For directly reading the value and populating the same in the cq:dialog, it is feasible with the cq:design i.e. if configured in the design dialog via something like ${not empty cqDesign.title? cqDesign.title : ' '}

 

But for populating it from the page properties, you can try via the touch ui listeners

Reference: https://aemsimplifiedbynikhil.wordpress.com/2018/07/30/touchui-dialog-listeners-aem-6-3/

Thanks

1 risposta

ShaileshBassi
Community Advisor
Community Advisor
July 14, 2022

@tessa_learner1 For directly reading the value and populating the same in the cq:dialog, it is feasible with the cq:design i.e. if configured in the design dialog via something like ${not empty cqDesign.title? cqDesign.title : ' '}

 

But for populating it from the page properties, you can try via the touch ui listeners

Reference: https://aemsimplifiedbynikhil.wordpress.com/2018/07/30/touchui-dialog-listeners-aem-6-3/

Thanks