Two Dialogs for a Component | Community
Skip to main content
Jai1122
New Participant
October 16, 2015
Solved

Two Dialogs for a Component

  • October 16, 2015
  • 2 replies
  • 768 views

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

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 edubey

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 replies

edubey
edubeyAccepted solution
New Participant
October 16, 2015

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.

smacdonald2008
New Participant
October 16, 2015

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