Pages

Saturday, 10 November 2018

CQ Developer Tricks

Here are a list of tricks that are useful for Developers.


Remove #cf/
Don’t want to see/wait for the content-finder while refreshing pages, just remove #cf/ in your url.
 
?debug=layout
Shows you all details of the components used on your page
 
?debugConsole=true
Runs Firebug Lite inside your browser
 
?wcmmode=(edit|preview|design|disabled)
This parameter sets your WcmMode in the specified mode, makes testing for a particular WcmMode easier .
 
?debugClientLibs=true
Writes out all Clientlib categories as separate files (check your HTML-source).
 
CTRL+SHIFT+U
In combination with ?debugClientLibs=true will show you timing information of your page
 
http://server/libs/cq/ui/content/dumplibs.html
Shows you all information around the clientlibs used in your CQ5-environment.

1 comment:

Converting InputStream to String

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