How to get the groups associated to a CQ5 user account ?
Hello,I'm looking for a sling endpoints to get all groups a CQ5 user belongs to.I first checked into crx but it seems that the groups are not stored in the users nodes. So I've no idea where I should...
View ArticleCQ5 DAM : import of assets using WEBDAV
Hi, I am trying to work on a POC where I need to do a buld asset upload using CQ5 webdav interface. I tried configuring the Webdav in windows7 and windows 2008. But facing issue. I followed below...
View ArticleCQ5.5 and ldap integration/synchronization
Hi, I have been trying to integrate ldap with CQ5.5 on Win7 machine. Following are the steps I have taken: 1. Installed cq-service-pack-5.5.2.20121012.zip 2. Installed cq-update-pkg-5.5.10.zip 1....
View ArticleEvent listener when a particular field value changes in dialog
Hi there, Issue is that I need to change a jcr property when a specific field value is changed in dialog. Since all the fileds are modified / rewriten in jcr when the dialog is saved, i can not...
View ArticleHow to add a document to the JCR Repository via Java API
I'm trying to get started with the JCR 2.0 " Content Repository Java Technology API Specification" It's really a great document but I miss a minimum of examples to visualize how it is all fits...
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 ArticleBest practices for Full fledged CQ5 Development environment
Hi All, I am working on CQ5.5. The following environemnt we areusing for development. CRXDELite < - > Eclipse Java Content Repository Perspective < - > VLT Check-in/Check out <->...
View ArticleManually Clean Dispatcher Cache
We have a requirement that we update some details of a page from a feed after certain interval of time and then we need to clean the dispatcher cache. We have done few sling mapping alsoe.g.for page...
View Articleparsys and cq:noDecoration
I have a page that has:<cq:include path="./par" resourceType="foundation/components/parsys" /> Some of the components under ./par has cq:noDecoration=true set.Those components, don't get...
View ArticleDispatcher Flush Agent on Publisher not invalidating cache
Hi all, We're having an issue with invalidating that cache apon activation/replication of content, but only from the Publish flush agent. I've copied the default flush agent on the Publish instance,...
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 ArticleApache Sling JCR Resource Resolver doesn't work for the anchor tags which is...
Certainly I realized that Apache Sling JCR Resource Resolver doesn't work for the anchor tags which is been rendered through jquery or javascript. e.g. In Felix Console , in Apache Sling JCR Resource...
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 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 ArticleRegd:org.apache.sling.api.scripting.ScriptEvaluationException:...
Hi , I'm getting the below exception while accessing the pages. It was working fine earlier.. Any help on this please....??? Caused by: org.apache.sling.api.SlingException:...
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 ArticleCQ5.2 Taglibs not working
Our development author node went down today with the following error on every page: org.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.jsp.jasper.JasperException:...
View ArticleCRXDE 1.0.1 issue: Java Content Assist not available with CQ5.5
Hello. I've an issue when I connect CRXDE with CQ5.5. In JSP's editor, the Java Content Assist is not available. So, it can't resolve 'resource', 'currentPage', etc. I don't have this issue when I...
View ArticleHow to implement Ajax
Hi All, I need to implement Ajax functionality in my component. The requirement is, 1. On clicking on a button Java servlet needs to be invoked.2. In the servelt, need to access CRX nodes and store a...
View Article