AEM 6 granite UI page and dialog | Community
Skip to main content
Level 2
October 16, 2015
Question

AEM 6 granite UI page and dialog

  • October 16, 2015
  • 4 replies
  • 1744 views

Hi,

1. I created a listener with a function that calls servlet on submit of the dialog box. But the listeners is not working for granite UI Page using classic dialog. And how can we create a listeners for the granite dialogs(cq:dialog). Urgent reply would be highly appreciated.

 

2. When components are included statically in a page (granite UI). The components are not editable.Please help.Urgent reply would be highly appreciated.

 

Thanks

Abhinav

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

18Harry
Level 2
October 16, 2015

Hi Smac,

I would like to add a few more points to this thread,

1. I am not able to use properties such as hidden/Disabled (some times disabled works properly, but any way this can't be trusted).

2. Event handling cannot be performed. (Listners, renderers, conditions etc.)

 

Kindly keep us updated on any developments on this topic.

Regards

Harry

Level 2
October 16, 2015

HI Gilles

 

1. I tried using "dialog-success" and just gave an alert function. But it did not work out. Can you give me the node structure.My requirement is when i click on page properties of granite UI page, a granite dialog opens and and on clicking ok (the tick button in the upper right hand corner) it should give an alert message.

2. This case is not there in classic UI. The component is editable as it contains the dialog. But the same is not true for Granite UI page.

Adobe Employee
October 16, 2015

Hi Abhinav,

1. Instead of reacting on submit of the dialog box, you should listen to "dialog-success" event. This works both for Touch UI dialogs and the ones loaded using classic dialogs within the new page authoring.

2. I'd say that's an expected behaviour. Wasn't this already the case in Classic UI?

Regards,
Gilles

smacdonald2008
Level 10
October 16, 2015

I have passed this question to the Eng team.