Are sightly expressions recognized in touch UI? | Community
Skip to main content
GK-007
New Participant
December 20, 2015
Solved

Are sightly expressions recognized in touch UI?

  • December 20, 2015
  • 4 replies
  • 1158 views

Hi All,

I have written simple component to display the title of the page using sightly expression.I am able to see the title value page renders with the title but if i open the page in touch ui title value is not showing.

Are there any limitation in using the sightly lang. or anything needs to be done further to show the same in touch UI as well?

Thanks,

Kishore

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 kautuk_sahni

Hi  

Please try this package and see if this is also causing same problem ?

Link:- https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html

Quick check :- http://aempodcast.com/2015/sightly/aem-sightly-touch-ui-tips/#.Vne8YHYrLRY

I hope this would help you.

Thanks and Regards

Kautuk Sahni

4 replies

kautuk_sahni
kautuk_sahniAccepted solution
Employee
December 21, 2015

Hi  

Please try this package and see if this is also causing same problem ?

Link:- https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html

Quick check :- http://aempodcast.com/2015/sightly/aem-sightly-touch-ui-tips/#.Vne8YHYrLRY

I hope this would help you.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
GK-007
GK-007Author
New Participant
December 21, 2015

I have not included any title component.

It's a just a simple Sightly expression only - ${currentPage.title}

Thanks,

Kishore

kautuk_sahni
Employee
December 21, 2015

Hi 

As stated by Ratna, if there is any title component on the page, then, you mush include Touch ui dialog under the component.

Link:- https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html

// This is a community link, covering "Creating your first Adobe Experience Manager Sightly component".

Link:- https://helpx.adobe.com/experience-manager/using/creating-touchui-component.html

//Creating your first Adobe Experience Manager Touch UI component. 

 
                         
SectionDescription
AJCR nodes that represent the component's dialog when used in the Touch UI view.    
BJCR nodes that represent the component's dialog when used in the Classic UI view.  
CThe component JSP file. You can use application logic to get the values that a user entered into dialog values.
DThe  page component that lets an author drag the component from the Touch UI side rail onto an AEM web page during design time.
EThe template on which the page component is based. 

So Read A and B point, 2 different tree for respective Ui's.

 

Reference Link:- http://www.willdev4donuts.com/aem6-touch-ui-cqdialog-vs-dialog/#.VneOmXYrLRY

//Touch UI cq:dialog vs dialog

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
Ratna_Kumar
New Participant
December 21, 2015

Hi Kishore,

Are you included any title component of the page? if you included then, you must include the touch UI dialog(cq:dialog) under the component as well.

Thanks,
Ratna Kumar.