SIghtly Page Component/Template - Page Properties dialog not working in Touch UI | Community
Skip to main content
marissaw9851252
Level 3
October 16, 2015
Solved

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

  • October 16, 2015
  • 6 replies
  • 2441 views

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.
Best answer by joerghoh

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

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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

marissaw9851252
Level 3
October 16, 2015

Hi Jörg,

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

smacdonald2008
Level 10
October 16, 2015

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. 

marissaw9851252
Level 3
October 16, 2015

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>

Feike_Visser1
Adobe Employee
Adobe Employee
October 16, 2015

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

marissaw9851252
Level 3
October 16, 2015

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