Skip to main content
marissaw9851252
Level 3
Oct 16, 2015 2:28 AM UTC
Solved

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

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Adobe Employee
Oct 16, 2015 2:28 AM UTC

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

6 replies

marissaw9851252
Level 3
Oct 16, 2015 2:28 AM UTC

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

Translate
Feike_Visser1
Adobe Employee
Adobe Employee
Oct 16, 2015 2:28 AM UTC

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

Translate
marissaw9851252
Level 3
Oct 16, 2015 2:28 AM UTC

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>

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:28 AM UTC

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. 

Translate
marissaw9851252
Level 3
Oct 16, 2015 2:28 AM UTC

Hi Jörg,

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

Translate
joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:28 AM UTC

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

Translate