Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Two Dialogs for a Component

Avatar

Level 5

Hi All,

    I was told that a component can have single dialog. Logically it seemed correct since when author tries to author it only one dialog can appear.

But the component  /libs/social/blog/components/page looks very different. As shown in the attachment the component has two dialog(Ofcourse it is the page component for the blogs and one of the dialog is page properties dialog). Not sure why there are two dialogs available.

So my questions is,

Why we have two dialogs for that component?

Thanks,

Jai

1 Accepted Solution

Avatar

Correct answer by
Level 10

It may be the possibility that this "dialog-entry" may be called via JS code somewhere.

As CQ EXT JS gives you handler to call any dialog and show it.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

It may be the possibility that this "dialog-entry" may be called via JS code somewhere.

As CQ EXT JS gives you handler to call any dialog and show it.

Avatar

Level 10

Another use case for defining 2 dialogs is one for Touch UI and the other for Classic UI. 

[img]touchUI.png[/img]

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