Fail to access CRX with JcrUtils.getRepository
I just started with CQ5/CRX/JCR, so I beg your pardon if asking silly questions.I'm running a CQ5 Standalone Server (CQ_5_5_Quickstart.jar) on my Windows 7 and am fine with accessing it with my browser...
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 ArticleREGARDING EXTRACTING OF PROPERTIES
Hi,I am fairly new to ADOBE DAY CQ.. I want to extract properties of a particular node... I am using the following code.... Node aName= session.getNode(absPath);String propertyName=...
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 ArticleDispatcher serving, but not caching, CQ5 pages
Just restored a backup of a CQ5.5 staging server to a new Amazon EC2 instance in order to allow some people outside of the company shared access to what we are working on. CQ5 appears to be running...
View Articlequestion - can I script cq:Page creation via Sling?
Hello! I was setting up my CQ5 dev environment and trying to figure out some ways to make things a little more convienent to develop for myself and team. Taking as a starting poing:...
View ArticleCQ5.5 Session Timeout
Hello, We would like to change the session timeout value for the Author server so that if an Author doesn't do anything for 30 minutes the CQ session expires. Seems the default is several hours.
View ArticleOnly a type can be imported. org.apache.felix.scr.annotations.Component...
I copied the example code exactly, but it won't compile. I receive errors on all the annotations, like:"Only a type can be imported. org.apache.felix.scr.annotations.Component resolves to a...
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 Articleservletengine Unable to send back last chunk: Software caused connection...
I have created a bundle for the class com.xxx.cq.wcm.foundation.profile.impl.TnailImages from the foundation file com.day.cq.wcm.foundation.profile.impl.ProfileImages.Here are the changes I made ot...
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 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 ArticleIs there way to dyanmically set component proeprties?
In one of my component I am making some external service calls and I would like to populate the component's properties with the data received from the service call. How can I do it? I tried using...
View ArticleNo cache invalidation when statsfilelevel > 0 and JCR Resource Resolver URL...
IF :JCR Resource Resolver [1] is used to allow requests missing the initial /content ANDDispatcher has a /statsfilelevel greater than 0 THEN It is impossible for dispatcher to invalidate...
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 ArticleNeed learning material or links for CQ5
Hi All, I am planning to learn Adobe CQ5. Can anyone give me more information on Adobe CQ5? Also share me the links to download the tool, learning material etc if any one has? Thank you
View Article"cache file is newer than last flush" issue
I am unable to overwrite cached html files due to this following error, cache file is newer than lastflush -> use cache The publish, render and live boxes have their time sync working, so I am at a...
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 ArticleVanity URLs in multiple domains with one CQ5 instance
I have two websites which are in different domains but use the same CQ5 author instance. How can I setup the same Vanity URLs for both websites.For example, one.com/shorturl and two.com/shorturl. I...
View Article