Skip to main content
Oct 6, 2017 9:22 AM UTC
Solved

Touch Ui Dialog Box is not persisting content

I have Included  button component(use any component) in template level using sightly.

like

body.html

      <div data-sly-resource="${'button' @ resourceType='TestProject/components/content/button'}"></div>

Created new page of this template. Open the page in touch Ui. i am able to see the "button" component on page.

open the dialog box in touch ui. fill and submit the dialog box. The dialog box content is not persisted(button node is not created)

But if i drag and drop this "Button" component in parsys. i am able to persist the dialog content successfully.

Is anyone know how to resolve this touch ui dialog box persistence issue.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
hariprasadm4102Accepted solution
Oct 10, 2017 9:28 AM UTC

You are missing path attribute. Please use below syntax.

<div data-sly-resource="${@ path='button', resourceType='TestProject/components/content/button'}"></div>

3 replies

Szalam
Level 2
Oct 6, 2017 1:32 PM UTC

What Adobe software are you using? You've posted in the Forum comments forum (which is for issues with these forums themselves). If you let us know what you're working with, a moderator can move your post to the right forum to get help.

Translate
sushant84Author
Oct 9, 2017 3:58 AM UTC

I am using AEM 6.3

Translate
hariprasadm4102Accepted solution
Oct 10, 2017 9:28 AM UTC

You are missing path attribute. Please use below syntax.

<div data-sly-resource="${@ path='button', resourceType='TestProject/components/content/button'}"></div>

Translate