Skip to main content
Prince_Shivhare
Community Advisor
Community Advisor
Dec 31, 2016 7:01 AM UTC
Solved

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

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Jan 2, 2017 4:57 PM UTC

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

smacdonald2008
Level 10
Jan 2, 2017 10:27 PM UTC

can you please create a package include all code under /apps and email to smacdonald2006@hotmail.com. Also tell me what AEM version you have - the code works on my end. 

Translate
Prince_Shivhare
Community Advisor
Community Advisor
Jan 3, 2017 3:45 AM UTC

Hi Scott,

I will package my code and email to you.

I am using AEM 6.2

Translate
Prince_Shivhare
Community Advisor
Community Advisor
Jan 3, 2017 3:45 AM UTC

Hi Scott,

I will package my code and email to you.

I am using AEM 6.2

Translate
Feike_Visser1
Adobe Employee
Adobe Employee
Jan 3, 2017 8:23 AM UTC

Is the bundle "active"? You can check this here: localhost:4502/system/console/bundles

Translate
Feike_Visser1
Adobe Employee
Adobe Employee
Jan 3, 2017 8:23 AM UTC

Is the bundle "active"? You can check this here: localhost:4502/system/console/bundles

Translate
Prince_Shivhare
Community Advisor
Community Advisor
Jan 3, 2017 9:38 AM UTC

bundle is active.

Translate
Prince_Shivhare
Community Advisor
Community Advisor
Jan 3, 2017 9:38 AM UTC

bundle is active.

Translate
Feike_Visser1
Adobe Employee
Adobe Employee
Jan 3, 2017 10:41 AM UTC

Can you put ${properties.jcr:heading} in your component?

Then we can see if it is related to Java-code or content.

Translate
Feike_Visser1
Adobe Employee
Adobe Employee
Jan 3, 2017 10:41 AM UTC

Can you put ${properties.jcr:heading} in your component?

Then we can see if it is related to Java-code or content.

Translate
Prince_Shivhare
Community Advisor
Community Advisor
Jan 3, 2017 11:43 AM UTC

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.

Translate