コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

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 受け入れられたソリューション

Avatar

正解者
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.

元の投稿で解決策を見る

2 返信

Avatar

正解者
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