Pages

Thursday, 12 September 2013

How to remove the default decoration around the component in CQ

We can remove the default decoration around the component in CQ by setting a property cq:noDecoration to true to it.

Disabling the "Target" context menu item on cq:editConfig in AEM v5.6

We can disable this menu at component level by setting cq:editConfig/cq:disableTargeting to true

Converting InputStream to String

    private String convertToString(InputStream inputStreamObj)             throws IOException {         if (inputStreamObj != null) {     ...