How to open a component dialog with custom button or link?
Hi guys!
I'd like to open a component dialog when I click a button or a link. Could you please give me some pieces of advice how to implement it? cq:layout rollover and editbar are not suitable for me.
I've found out, that it is opened with this code:
CQ.wcm.EditBase.showDialog(this, CQ.wcm.EditBase.EDIT);
where this - is CQ.wcm.EditRollover object for a corresponding component. So all that I need - somehow create or get somewhere CQ.wcm.EditRollover object?
Thanks.