CQ 5.6.0 to 5.6.1 upgrade failing on Tomcat7 restart
All - wanted to know if anybody is having a similar experience in upgrading from CQ (AEM) 5.6 to 5.6.1, and whether you could suggest a remedy. The problem we're having with 5.6.1 can be replicated...
View ArticleRedirecting page
I am using the redirect option in page properties to redirect pages but the page just displays "This page redirects to <Page Name>" in publisher mode. Why is it not working?
View ArticleHow do I use ?
Hi, I am trying to <sling:include> a content node wrapped inside <div> on a jsp. For example I have a textimage content node: "/content/company/en/product/jcr:content/par/textimage" I can...
View ArticleHow to access the currentPage and currentNode Objects in a Sling Servlet
I have a requirement to write a Sling Servlet instead of regular CQ5 JSP In a standard CQ5 JSP it's easy to use the currentPage and currentNode objects, as they are automatically added by the default...
View ArticleCQ 5.4 - How to create a column layout?
Greetings everyone; I'm trying to create a website with some components that I get from a imported site... So far, so good, but when I try to drop a "column" component in my website from the...
View ArticleCan not access bundle context from JSP in CQ5.5
I created an OGI bundle , named : com.sdl.ws.integration.profserv.webservice.connector.server.external.b eansI can see the bundle under : http://localhost:4502/system/console/bundlesFollowing is my...
View ArticleUnable to change the default login page
I would to change the default login page (to /content/ethz_ch/Login) I configured tha page by "Day CQ Login Selector Authentication Handler": In...
View ArticleCQ5 - user session data maintenance
Hi,I am developing an application that requires to me to prompt user to login and then pass some data from page to page. This can't be GET or form POST data. So, I thought to do using HTTP SESSION. I...
View ArticleRe-size an image in using the Image class?
Is there a way to resize an image using the com.day.cq.wcm.foundation.Image class? I wanted to extend the foundation image componet and have it resize to a specific height and width. Is there a way...
View ArticleHow can I create a design dialog for a component that is site wide and not...
How would I use design dialogs on a componet to create a global setting and not a setting that is bound per template? I want to save a property for a component globably and not have 5 different...
View ArticleUpdated: CQ5 Fully Featured Website tutorial
Hi, Due to a number of recent comments, I updated the Creating a Fully Featured Website tutorial in the CQ5.5 documentation. Changes included some fixes to the CSS file and component code, some...
View ArticleCQ5 fails to start - Bad File Descriptor
Hi, We are having an intermittant problem on servers running CQ5 (SP1 not installed). Occaisionly the server stops working - with the Service unavailable message appearing in the CRX and CQ Admin...
View Articlejavax.jcr.nodetype.ConstraintViolationException : Node is protected
Hi I have an nt:unstructured node to which i am writing some properties through java code. The properties are getting written but in my error log i am getting...
View Articleform and post as a method to send request parameter?
Hi all, I have question about best practice in the CQ to send between 2 pages a parameter using a post method in the form. I have simple form on page.html like: <form action="page_2.html"...
View ArticleMultiple smartimage widgets in a component dialog
Is there a way to have multiple smartimage widgets in a single dialog? Specifically I'm struggling with the requestSuffix parameter. Most of the other ones I can adapt to get the second widget to save...
View ArticleReferer question
I am trying to get the referer of a page using : referer = request.getHeader("Referer"); This works fine.The only case it doesn't work is when I open a new page from the CRX repository inside...
View ArticleHow to clean tarJournal?
Hi all, We had a bug in which an endless loop was continuously creating and then deleting the same node. I noticed that the size of the repository on disc (under crx-quickstart/repository) did grow...
View Article@Reference annotation causing customised servlet stop getting called
Hi guys, I noticed that as soon as I add the @Reference annotation in my servlet, the sevlet will not be called when the form is submitted. As soon as I remove @Reference the servlet will be called....
View ArticleDisabling the "Target" context menu item in AEM v5.6
Is it possible to disable the "Target" context menu item on components in AEM v5.6? We don't want (at the moment) authors to have this ability and it seems to be interfering with some of our custom...
View ArticleConfiguring DAM and Dispatcher - shorten URL
Hello all, I'm trying to configure CQ DAM with Apache 2.2 and Dispatcher, to serve only assets. I've successfully configured them, as when I upload a new asset, it automatically replicates in Publish...
View Article