Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Customize position of dialog window in xtype 'paragraphreference' in AEM 6.1

Avatar

Community Advisor

Hi,

I've a dialog window which I've assigned xtype 'paragraphreference'. Now, on click of drop-down, a window gets open at the top of page no matter at what position our component has been positioned initially.

So, need to positioned it accordingly with component position.

Thanks,

Himanshu

3 Replies

Avatar

Level 10

Are you referring to a component's dialog? 

Avatar

Level 2

I hope the better idea will be to use "cq:editConfig" node with 

      
cq:dialogMode
String
floating

This will allow the primary dialog of component to detach from document and "browse dialog" in this case will also open at same level as primary dialog. 

Avatar

Community Advisor

I already included cq:editConfig with the property you mentioned.

Dialog box that gets opened on click on edit bar is displaying fine but when dialog window gets open then on click on select, another dialog window gets open which is coming at the top of page. I need that to be floating as well so as to positioned it over it's parent dialog.