Friday, 13 November 2015

How To Set Dynamic Value For Component Edit Bar Label

you can set the label value of the component edit bar dynamically.



    editContext is implicit object of com.day.cq.wcm.api.components.EditContext interface

   editContext.getEditConfig().getToolbar().add(0, new Toolbar.Label("sample"));

No comments :

Post a comment