Expand my Community achievements bar.

SOLVED

SIghtly Page Component/Template - Page Properties dialog not working in Touch UI

Avatar

Level 3

I created a Sightly PageComponent and Template.  I am able to select the Template when creating a new Page and everything seems to work ok.  However, when I go to edit the Page Properties in the Touch UI, the Tags control renders differently than the Tags control for a Page that uses a non-Sightly Template/PageComponent and if a Tag is not selected, the Page Properties will not Save. I am running AEM 6 SP2.  Is there an additional Hot fix/Feature pack that needs to be installed for this to work properly?  I've attached screenshots of the Basic tab of the Page Properties dialog in the Touch UI for both a page based on a Sightly and non-Sightly Template.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

Sightly itself does not influence the way how dialogs are displayed. Sightly and JSP act on the same level (from a component perspective) an don't have an impact on the way a dialog is displayed. Are you sure, that you have the very same dialog definition?

kind regards,
Jörg

View solution in original post

6 Replies

Avatar

Correct answer by
Employee Advisor

Hi,

Sightly itself does not influence the way how dialogs are displayed. Sightly and JSP act on the same level (from a component perspective) an don't have an impact on the way a dialog is displayed. Are you sure, that you have the very same dialog definition?

kind regards,
Jörg

Avatar

Level 3

Hi Jörg,

For this example, I am not using out of the box dialogs and not overriding anything.

Avatar

Level 10

To follow up on the point that Joerg made -- see this community article on Sightly:

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

There is no such thing as a Sightly template. A template is separate from Sightly.

A component that you can drag onto a page can be written in Sightly or JSP. The same dialog works for both JSP or Sightly. 

Avatar

Level 3

Here is the xml for my template.  Please let me know what is incorrect.

 

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
    jcr:description="Base  page template"
    jcr:primaryType="cq:Template"
    jcr:title="Base &#xa; page template&#xa;"
    allowedPaths="[/content(/.*)?]"
    ranking="{Long}1"
    shortTitle="Base Content Page">
    <jcr:content
        jcr:primaryType="cq:PageContent"
        sling:resourceType="wcm/foundation/components/page"/>
</jcr:root>

Avatar

Employee

Can you try to use this as the sling:resourceType "foundation/components/page"?

Avatar

Level 3

I do not have the issue when the sling:resourceType is "foundation/components/page".