Search code examples
adobeaem

cq:DialogMode "floating" change dialog title


So I have a component in AEM that has an edit bar. Dialog mode of this bar is set to floating, and I need to change the title of the dialog. I have read all the docs I could find and have tried changing the dialog title as it would normally be done, but all that ever shows up is the default "Edit Component" title.

Can this be changed? And if so, how?

Edit: After removing the xtype as suggested, I was able to get the titles to show. This however caused another problem for my dialog that had an xtype of tabpanel. Those components now only have the first tab defined.


Solution

  • This issue occurs mostly because, the xtype for the cq:dialog node would be set to something else (most probably panel or tabpanel) instead of dialog.

    Check for the same, and in case it has been set, change the xtype to dialog or remove the xtype altogether in order to view the title in the dialog's edit mode.