Expand my Community achievements bar.

SOLVED

Are sightly expressions recognized in touch UI?

Avatar

Level 9

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

1 Accepted Solution

Avatar

Correct answer by
Administrator

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

View solution in original post

4 Replies

Avatar

Level 10

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.

Avatar

Administrator

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

Avatar

Level 9

I have not included any title component.

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

Thanks,

Kishore

Avatar

Correct answer by
Administrator

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