AEM HTL headline component is unable to take input from dialog box. | Community
Skip to main content
Prince_Shivhare
Community Advisor
Community Advisor
December 31, 2016
Solved

AEM HTL headline component is unable to take input from dialog box.

  • December 31, 2016
  • 29 replies
  • 6538 views

Hi,

I have created one text component. and uses a classic UI dialog box. but when I am giving input to that dialog box. it's not giving me any output nor any error after clicking ok to dialog box.

Where I can check what is the problem? and stack generated ? I have referred "https://helpx.adobe.com/experience-manager/using/creating-htl-component.html".

please let me know if more information required.

Regards,

Prince

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Just tested this article for AEM 6.2 - http://scottsdigitalcommunity.blogspot.ca/2016/07/creating-aem-html-template-language.html

It works perfectly: 

As Feike suggests - make sure there are no typos in the code. 

29 replies

Prince_Shivhare
Community Advisor
Community Advisor
January 3, 2017

Hey,
I replaced it and it works. 

${heroTextObject.heroTextBean.heading} with ${properties.jcr:heading}.

and

${heroTextObject.heroTextBean.description} with ${properties.jcr:description}.

I have kept the "name" property of both node as ./jcr:heading and ./jcr:description. so it works.

Prince_Shivhare
Community Advisor
Community Advisor
January 3, 2017

now what can be the issue? I am still confused.

Prince_Shivhare
Community Advisor
Community Advisor
January 3, 2017

now what can be the issue? I am still confused.

smacdonald2008
Level 10
January 3, 2017

Great -- i will look into your code today and try and see what the issue is. 

smacdonald2008
Level 10
January 3, 2017

Great -- i will look into your code today and try and see what the issue is. 

Prince_Shivhare
Community Advisor
Community Advisor
January 3, 2017

Thank you scott.

Prince_Shivhare
Community Advisor
Community Advisor
January 3, 2017

Thank you scott.

Prince_Shivhare
Community Advisor
Community Advisor
January 4, 2017

Hi,

I am able to see the input given in the dialog box. I have referred "https://helpx.adobe.com/experience-manager/using/first_htl_WCMUsePojo.html".

Thank you scott and team.

- Prince

Prince_Shivhare
Community Advisor
Community Advisor
January 4, 2017

Hi,

I am able to see the input given in the dialog box. I have referred "https://helpx.adobe.com/experience-manager/using/first_htl_WCMUsePojo.html".

Thank you scott and team.

- Prince