Category: Technology

  • Timing information of JSP’s in a page

    If you want to see the time taken by the jsp on a page in CQ, then include the below component at the end (just before </body>) body.jsp of a…

  • Adobe CQ / AEM Certification Helpful Links

    The following are typical tasks that you should already be able to perform: • Create a CQ component with custom dialogs • Create an OSGi bundle containing one or more…

  • Adobe CQ :: ResourceUtil – safer way to retrieve properties

    Almost all the components we write, there is a need to traverse the node and retrieve properties from a node. Usually we end writing large amount of code, adding null…

  • CQ 5.5 – CRXDE contextual help not working

    Download “crxde-missing-libs-1.0.zip” from package share and install it through package manager. Contextual help should start working. If it still doesn’t work then delete .crxde folder from your user home directory.…

  • Custom Tag Libs for Adobe CQ

    Follow the below steps for creating custom Tab libraries: Step 1: Write a java Class with the method  you want as a tag lib. I’m providing an example java class…

  • Creating an OSGI bundle from jar

    Step 1: Start by creating jar’s manifest file: “manifest.txt” Manifest-Version: 1.0 Created-By: yourname Bundle-ManifestVersion: 2 Bundle-Name:  Junit 4.4 bundle Bundle-Description: Package junit 4.4 is an OSGI bundle Bundle-Version: 4.4.0 Bundle-ClassPath:…

  • Error Handlers that render different HTTP errors

    The default error handler scripts are located under “/libs/sling/servlet/errorhandler”. You can overlay default error handling by copying the script you would like to customize from “libs/sling/servlet/errorhandler” to the same location…

  • Adobe CQ : Creating Custom Namespaces

    Adobe CQ uses namespaces to maintain modularity between the properties and also tags.  namespaces help in distinguishing different modules of the project. We create thousand of properties in our project…

  • Adobe CQ installation Guide

    System Requirements: 2GB free disk space in the deployment directory. 1.5GB memory (RAM); Please increase your head size. Prerequisites: The Java Runtime Environment (JRE). Version 1.6.X is preferred. The CQ…

  • The concept of .json, .xml, .txt, etc

    As many of you know CQ-Sling provides the concept of rendering a page/node in different formats. If you don’t know what am I talking about, then open your browser and…